diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2018-09-30 13:31:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-30 13:31:21 +0200 |
commit | e1422acae31dbd93871f7e833cfaebb5a9a3e09b (patch) | |
tree | 089eb9a25888b0449011bad8b69a14893eac347d /core | |
parent | 340fbfb231d881b62315f0c412b2d25b5a018707 (diff) | |
parent | 2058f3c0b341b483c8f653618ba338fb028f31e9 (diff) | |
download | AntennaPod-e1422acae31dbd93871f7e833cfaebb5a9a3e09b.zip |
Merge pull request #2689 from orionlee/auto_download_fix_during_feed_update_2577
Ensure that during feeds update, automatic (episodes) download the latest ones
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/storage/DBTasks.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/storage/DBTasks.java b/core/src/main/java/de/danoeh/antennapod/core/storage/DBTasks.java index 037cf438b..8eed10cd7 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/storage/DBTasks.java +++ b/core/src/main/java/de/danoeh/antennapod/core/storage/DBTasks.java @@ -198,8 +198,10 @@ public final class DBTasks { if (ClientConfig.gpodnetCallbacks.gpodnetEnabled()) { GpodnetSyncService.sendSyncIntent(context); } - Log.d(TAG, "refreshAllFeeds autodownload"); - autodownloadUndownloadedItems(context); + // Note: automatic download of episodes will be done but not here. + // Instead it is done after all feeds have been refreshed (asynchronously), + // in DownloadService.onDestroy() + // See Issue #2577 for the details of the rationale if (callback != null) { callback.run(); |