From 4f8f83cfbea3df536cda2590fe60c21626fda04e Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 28 Sep 2012 20:58:37 -0700 Subject: Cache only now playing list instead of entire download list --- .../daneren2005/dsub/service/DownloadServiceLifecycleSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subsonic-android/src') 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(); -- cgit v1.2.3