aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-11-14 10:02:07 -0800
committerScott Jackson <daneren2005@gmail.com>2014-11-14 10:02:07 -0800
commit08f5836329fcbe7b07fa28adfe99089a12a2f51a (patch)
treea66079543b549a408ce062f3bd8bb52508870459
parente13410c787495b65a68e4d222327fead8bf232af (diff)
downloaddsub-08f5836329fcbe7b07fa28adfe99089a12a2f51a.tar.gz
dsub-08f5836329fcbe7b07fa28adfe99089a12a2f51a.tar.bz2
dsub-08f5836329fcbe7b07fa28adfe99089a12a2f51a.zip
#419 Fix shuffle mode staying on when switching online/offline
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java
index 50a2d34e..b75eeeb5 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -558,6 +558,10 @@ public class DownloadService extends Service {
} else {
mediaRouter.removeOfflineProviders();
}
+ if(shufflePlay) {
+ setShufflePlayEnabled(false);
+ }
+ Log.d(TAG, "Shuffle mode: " + shufflePlay);
lifecycleSupport.post(new Runnable() {
@Override