diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-02-11 22:14:08 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-02-11 22:14:08 -0800 |
commit | a3462662094fe068fee91a759c1d54d367d6dc6f (patch) | |
tree | dbb528701896617421c2c2ea2fe7636ece328fc9 /app/src | |
parent | d1da1ad5255acbd1f1be49cfa04ef74ccb41c6e6 (diff) | |
download | dsub-a3462662094fe068fee91a759c1d54d367d6dc6f.tar.gz dsub-a3462662094fe068fee91a759c1d54d367d6dc6f.tar.bz2 dsub-a3462662094fe068fee91a759c1d54d367d6dc6f.zip |
Fix starting casting while nextPlaying is preparing/prepared
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/service/DownloadService.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java index d35a522c..e21e7c34 100644 --- a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java +++ b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java @@ -1704,6 +1704,10 @@ public class DownloadService extends Service { nextPlayingTask.cancel(); nextPlayingTask = null; } + + if(nextPlayerState != IDLE) { + setNextPlayerState(IDLE); + } } if(remoteState == LOCAL) { |