diff options
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java index aaa8c39c..4be1dbcc 100644 --- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java +++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java @@ -846,11 +846,15 @@ public class DownloadServiceImpl extends Service implements DownloadService { @Override public void setSleepTimerDuration(int duration){ timerDuration = duration; + if(this.playerState == PlayerState.STARTED) + startSleepTimer(); } @Override public void setSleepTimerStatus(int status){ timerStatus = status; + if(this.playerState == PlayerState.STARTED) + startSleepTimer(); } @Override |