diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2014-05-17 21:44:20 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2014-05-17 21:44:20 +0200 |
commit | 7365fc3d5d595665063cc14bcf22b855956f7537 (patch) | |
tree | 6548ce37e030bed6bccf704d7e39d1eec0fccfa9 /src | |
parent | cd91098fdec1033ad665a54fd9038743059c234b (diff) | |
download | AntennaPod-7365fc3d5d595665063cc14bcf22b855956f7537.zip |
Auto-download episodes on DownloadService shutdown. fixes #316 closes #408
Diffstat (limited to 'src')
-rw-r--r-- | src/de/danoeh/antennapod/service/download/DownloadService.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/service/download/DownloadService.java b/src/de/danoeh/antennapod/service/download/DownloadService.java index a32d28b56..b17f113ea 100644 --- a/src/de/danoeh/antennapod/service/download/DownloadService.java +++ b/src/de/danoeh/antennapod/service/download/DownloadService.java @@ -282,6 +282,8 @@ public class DownloadService extends Service { feedSyncThread.shutdown(); cancelNotificationUpdater(); unregisterReceiver(cancelDownloadReceiver); + + DBTasks.autodownloadUndownloadedItems(getApplicationContext()); } @SuppressLint("NewApi") |