From 5e086f1bb8d4167e1cc6fc71989afecf3c0d3626 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sat, 6 Oct 2012 10:02:01 -0700 Subject: Fix orientation changing resetting shuffle --- .../src/github/daneren2005/dsub/activity/DownloadActivity.java | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3