aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-02-18 10:42:37 -0800
committerScott Jackson <daneren2005@gmail.com>2014-02-18 10:42:37 -0800
commitabd9ffd4e6bafddfc51031a73dd30b255bb9b6aa (patch)
tree9af6530154d241a2a3f234f59eafc480b09125f8 /src/github
parent0190b396904012841f3d938d8db9d115321cc716 (diff)
downloaddsub-abd9ffd4e6bafddfc51031a73dd30b255bb9b6aa.tar.gz
dsub-abd9ffd4e6bafddfc51031a73dd30b255bb9b6aa.tar.bz2
dsub-abd9ffd4e6bafddfc51031a73dd30b255bb9b6aa.zip
Fix pressing next to close to each other
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java
index 999e825d..d5664d25 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -630,6 +630,7 @@ public class DownloadService extends Service {
nextPlayerState = IDLE;
return;
}
+ setNextPlayerState(IDLE);
int index = getNextPlayingIndex();
@@ -644,7 +645,6 @@ public class DownloadService extends Service {
nextPlayingTask.start();
} else {
nextPlaying = null;
- setNextPlayerState(IDLE);
}
}
@@ -1677,7 +1677,6 @@ public class DownloadService extends Service {
private final File partialFile;
public CheckCompletionTask(DownloadFile downloadFile) {
- setNextPlayerState(PlayerState.IDLE);
this.downloadFile = downloadFile;
if(downloadFile != null) {
partialFile = downloadFile.getPartialFile();