From b0b3636a441ec63ac4c5d957ce9987c70eed8cd2 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 29 Aug 2014 17:58:21 -0700 Subject: Fix another case where index is not properly updated --- src/github/daneren2005/dsub/service/DownloadService.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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(); -- cgit v1.2.3