aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-10-17 19:40:17 -0700
committerScott Jackson <daneren2005@gmail.com>2012-10-17 19:40:17 -0700
commit5f5dff8fa85229e31961df1a636173333854a683 (patch)
treef75f845aa8bfa7fd65360783a6e286cd9499db40 /subsonic-android/src/github
parent1eb9006c8eaa55ea43f5fba68c61427674be733f (diff)
downloaddsub-5f5dff8fa85229e31961df1a636173333854a683.tar.gz
dsub-5f5dff8fa85229e31961df1a636173333854a683.tar.bz2
dsub-5f5dff8fa85229e31961df1a636173333854a683.zip
Fix that timer wasn't starting on changing timer settings
Diffstat (limited to 'subsonic-android/src/github')
-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