aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-04-28 19:46:01 -0700
committerScott Jackson <daneren2005@gmail.com>2013-04-28 19:46:01 -0700
commitad7b26d6ff7221e1153732f815aae401e237e795 (patch)
treecf78b406788c9acd9ced63270711635eea24d557
parent68a033d58ac9bb4848244063089eae61cb7c968b (diff)
downloaddsub-ad7b26d6ff7221e1153732f815aae401e237e795.tar.gz
dsub-ad7b26d6ff7221e1153732f815aae401e237e795.tar.bz2
dsub-ad7b26d6ff7221e1153732f815aae401e237e795.zip
Fix shuffle on download frag
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java
index a38f9fcd..5093934b 100644
--- a/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java
+++ b/subsonic-android/src/github/daneren2005/dsub/fragments/DownloadFragment.java
@@ -475,11 +475,11 @@ public class DownloadFragment extends SubsonicFragment implements OnGestureListe
@Override
public boolean onOptionsItemSelected(MenuItem menuItem) {
- if(super.onOptionsItemSelected(menuItem)) {
+ if(menuItemSelected(menuItem.getItemId(), null)) {
return true;
}
-
- return menuItemSelected(menuItem.getItemId(), null);
+
+ return super.onOptionsItemSelected(menuItem);
}
@Override
@@ -606,9 +606,6 @@ public class DownloadFragment extends SubsonicFragment implements OnGestureListe
startTimer();
}
return true;
- case R.id.menu_exit:
- exit();
- return true;
case R.id.menu_add_playlist:
songs = new ArrayList<MusicDirectory.Entry>(1);
songs.add(song.getSong());