diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-08-29 17:58:21 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-08-29 17:58:21 -0700 |
commit | b0b3636a441ec63ac4c5d957ce9987c70eed8cd2 (patch) | |
tree | 606ecedde046d234d416b8bf47b7e2ea0cc1360f /src | |
parent | 707c4682e48ca7e36ca34dceb0c271f783ab273a (diff) | |
download | dsub-b0b3636a441ec63ac4c5d957ce9987c70eed8cd2.tar.gz dsub-b0b3636a441ec63ac4c5d957ce9987c70eed8cd2.tar.bz2 dsub-b0b3636a441ec63ac4c5d957ce9987c70eed8cd2.zip |
Fix another case where index is not properly updated
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index a21bbd91..7c23f595 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -544,6 +544,8 @@ public class DownloadService extends Service { if(currentPlaying == downloadFile) { reset(); } + + currentPlayingIndex = downloadList.indexOf(currentPlaying); } } lifecycleSupport.serializeDownloadQueue(); |