diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-09-28 20:58:37 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-09-28 20:58:37 -0700 |
commit | 4f8f83cfbea3df536cda2590fe60c21626fda04e (patch) | |
tree | 4a2955b5758e58ca85674abc9a94ef2b997cbf1a /subsonic-android/src | |
parent | 6272b90a851a6d5225cdc32da0fefc59f1e4d91b (diff) | |
download | dsub-4f8f83cfbea3df536cda2590fe60c21626fda04e.tar.gz dsub-4f8f83cfbea3df536cda2590fe60c21626fda04e.tar.bz2 dsub-4f8f83cfbea3df536cda2590fe60c21626fda04e.zip |
Cache only now playing list instead of entire download list
Diffstat (limited to 'subsonic-android/src')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java index 564cced6..130a00f6 100644 --- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java +++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceLifecycleSupport.java @@ -182,7 +182,7 @@ public class DownloadServiceLifecycleSupport { public void serializeDownloadQueue() { State state = new State(); - for (DownloadFile downloadFile : downloadService.getDownloads()) { + for (DownloadFile downloadFile : downloadService.getSongs()) { state.songs.add(downloadFile.getSong()); } state.currentPlayingIndex = downloadService.getCurrentPlayingIndex(); |