aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-10-06 10:02:01 -0700
committerScott Jackson <daneren2005@gmail.com>2012-10-06 10:02:01 -0700
commit5e086f1bb8d4167e1cc6fc71989afecf3c0d3626 (patch)
treeb024e9858731b1e55e11439d8d3a06e08b20e1b8 /subsonic-android/src
parent49160bd8c5ec1d9a768caa5806561722a7a19159 (diff)
downloaddsub-5e086f1bb8d4167e1cc6fc71989afecf3c0d3626.tar.gz
dsub-5e086f1bb8d4167e1cc6fc71989afecf3c0d3626.tar.bz2
dsub-5e086f1bb8d4167e1cc6fc71989afecf3c0d3626.zip
Fix orientation changing resetting shuffle
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
index 0349b017..add80021 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
@@ -327,6 +327,7 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
DownloadService downloadService = getDownloadService();
if (downloadService != null && getIntent().getBooleanExtra(Constants.INTENT_EXTRA_NAME_SHUFFLE, false)) {
+ getIntent().removeExtra(Constants.INTENT_EXTRA_NAME_SHUFFLE);
warnIfNetworkOrStorageUnavailable();
downloadService.setShufflePlayEnabled(true);
}