diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-10-17 19:40:17 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-10-17 19:40:17 -0700 |
commit | 5f5dff8fa85229e31961df1a636173333854a683 (patch) | |
tree | f75f845aa8bfa7fd65360783a6e286cd9499db40 /subsonic-android/src/github | |
parent | 1eb9006c8eaa55ea43f5fba68c61427674be733f (diff) | |
download | dsub-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.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 |