aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java4
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