aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-10-02 13:17:08 -0700
committerScott Jackson <daneren2005@gmail.com>2014-10-02 13:17:08 -0700
commitd29d9b4dcb9029a88eb956ac283e4807ba9b6367 (patch)
tree1061a83f86a43d3e205021bd8fc083e14923f502 /src/github/daneren2005
parent20b7bab0361c30f66ebb5d33dbf2c4ecdf2cdf05 (diff)
downloaddsub-d29d9b4dcb9029a88eb956ac283e4807ba9b6367.tar.gz
dsub-d29d9b4dcb9029a88eb956ac283e4807ba9b6367.tar.bz2
dsub-d29d9b4dcb9029a88eb956ac283e4807ba9b6367.zip
Remove select all
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
index 5f988bbc..6cbb7e9b 100644
--- a/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java
@@ -258,9 +258,6 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
case R.id.menu_shuffle:
playNow(true, false);
return true;
- case R.id.menu_select:
- selectAllOrNone();
- return true;
case R.id.menu_download:
downloadBackground(false);
selectAll(false, false);
@@ -778,18 +775,6 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter
}
}
- private void selectAllOrNone() {
- boolean someUnselected = false;
- int count = entryList.getCount();
- for (int i = 0; i < count; i++) {
- if (!entryList.isItemChecked(i) && entryList.getItemAtPosition(i) instanceof Entry) {
- someUnselected = true;
- break;
- }
- }
- selectAll(someUnselected, true);
- }
-
private void selectAll(boolean selected, boolean toast) {
int count = entryList.getCount();
int selectedCount = 0;