From 08f5836329fcbe7b07fa28adfe99089a12a2f51a Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 14 Nov 2014 10:02:07 -0800 Subject: #419 Fix shuffle mode staying on when switching online/offline --- src/github/daneren2005/dsub/service/DownloadService.java | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3