aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-09-26 21:15:03 -0700
committerScott Jackson <daneren2005@gmail.com>2012-09-26 21:15:03 -0700
commit2f46ed0305791d4ab38ba51087d5602ed10280b6 (patch)
treea29ce87cc107c242d2f6dfd6484b49884f0a9edd /subsonic-android/src
parentd7c91c48c7cfe47ca40488372f5952f31f74734e (diff)
downloaddsub-2f46ed0305791d4ab38ba51087d5602ed10280b6.tar.gz
dsub-2f46ed0305791d4ab38ba51087d5602ed10280b6.tar.bz2
dsub-2f46ed0305791d4ab38ba51087d5602ed10280b6.zip
Fixed caching not updating view as its downloading
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
index 69bd766d..8343ce9a 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -353,6 +353,11 @@ public class DownloadServiceImpl extends Service implements DownloadService {
return downloadFile;
}
}
+ for (DownloadFile downloadFile : backgroundDownloadList) {
+ if (downloadFile.getSong().equals(song)) {
+ return downloadFile;
+ }
+ }
DownloadFile downloadFile = downloadFileCache.get(song);
if (downloadFile == null) {