diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-03-15 15:55:16 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-03-15 15:55:16 -0700 |
commit | 34edf50d1b016bb5cd437195ed76336f66a4c83e (patch) | |
tree | 7c08ec28000d42822d53f6c576f07ef0d769c6f7 /src/github | |
parent | ddbe2ce93a6b03d67ba293c023b0ac14dfd240c1 (diff) | |
download | dsub-34edf50d1b016bb5cd437195ed76336f66a4c83e.tar.gz dsub-34edf50d1b016bb5cd437195ed76336f66a4c83e.tar.bz2 dsub-34edf50d1b016bb5cd437195ed76336f66a4c83e.zip |
Just use currentPlaying instead of looking it up again
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index acf143c0..fbfdd50d 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -736,7 +736,7 @@ public class DownloadService extends Service { } setCurrentPlaying(index, start); if (start && remoteState != RemoteControlState.LOCAL) { - remoteController.changeTrack(index, downloadList.get(index)); + remoteController.changeTrack(index, currentPlaying); } if (remoteState == RemoteControlState.LOCAL) { bufferAndPlay(position, start); |