aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-02-11 22:14:08 -0800
committerScott Jackson <daneren2005@gmail.com>2016-02-11 22:14:08 -0800
commita3462662094fe068fee91a759c1d54d367d6dc6f (patch)
treedbb528701896617421c2c2ea2fe7636ece328fc9 /app/src
parentd1da1ad5255acbd1f1be49cfa04ef74ccb41c6e6 (diff)
downloaddsub-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.java4
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) {