diff options
Diffstat (limited to 'subsonic-android')
-rw-r--r-- | subsonic-android/src/github/daneren2005/subphonic/service/DownloadServiceLifecycleSupport.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/subphonic/service/DownloadServiceLifecycleSupport.java b/subsonic-android/src/github/daneren2005/subphonic/service/DownloadServiceLifecycleSupport.java index 1fdd3add..c58fca6d 100644 --- a/subsonic-android/src/github/daneren2005/subphonic/service/DownloadServiceLifecycleSupport.java +++ b/subsonic-android/src/github/daneren2005/subphonic/service/DownloadServiceLifecycleSupport.java @@ -105,7 +105,9 @@ public class DownloadServiceLifecycleSupport { public void onReceive(Context context, Intent intent) { Log.i(TAG, "Headset event for: " + intent.getExtras().get("name")); if (intent.getExtras().getInt("state") == 0) { - downloadService.pause(); + if(!downloadService.isJukeboxEnabled()) { + downloadService.pause(); + } } } }; |