diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-11-14 10:02:07 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-11-14 10:02:07 -0800 |
commit | 08f5836329fcbe7b07fa28adfe99089a12a2f51a (patch) | |
tree | a66079543b549a408ce062f3bd8bb52508870459 | |
parent | e13410c787495b65a68e4d222327fead8bf232af (diff) | |
download | dsub-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.java | 4 |
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 |