aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2014-06-27 09:54:30 -0700
committerdaneren2005 <daneren2005@gmail.com>2014-06-27 09:54:30 -0700
commited010604dfc7dcda226b99c39ade8204d8824a0b (patch)
tree3f96cc308df6871cb06632d8910fab57cd6f559f /src/github/daneren2005
parentcfda4d70ed52147ff639103b380c47463b246eb4 (diff)
downloaddsub-ed010604dfc7dcda226b99c39ade8204d8824a0b.tar.gz
dsub-ed010604dfc7dcda226b99c39ade8204d8824a0b.tar.bz2
dsub-ed010604dfc7dcda226b99c39ade8204d8824a0b.zip
Serialize when turning on remove played
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java
index 4c0c9151..0c5c8e24 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -410,6 +410,7 @@ public class DownloadService extends Service {
removePlayed = enabled;
if(removePlayed) {
checkDownloads();
+ lifecycleSupport.serializeDownloadQueue();
}
SharedPreferences.Editor editor = Util.getPreferences(this).edit();
editor.putBoolean(Constants.PREFERENCES_KEY_REMOVE_PLAYED, enabled);