diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-04-28 19:46:01 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-04-28 19:46:01 -0700 |
commit | ad7b26d6ff7221e1153732f815aae401e237e795 (patch) | |
tree | cf78b406788c9acd9ced63270711635eea24d557 | |
parent | 68a033d58ac9bb4848244063089eae61cb7c968b (diff) | |
download | dsub-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.java | 9 |
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());
|