aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-09-28 20:58:37 -0700
committerScott Jackson <daneren2005@gmail.com>2012-09-28 20:58:37 -0700
commit4f8f83cfbea3df536cda2590fe60c21626fda04e (patch)
tree4a2955b5758e58ca85674abc9a94ef2b997cbf1a /subsonic-android/src
parent6272b90a851a6d5225cdc32da0fefc59f1e4d91b (diff)
downloaddsub-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.java2
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();