diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2016-01-05 01:40:35 +0100 |
---|---|---|
committer | Martin Fietz <Martin.Fietz@gmail.com> | 2016-01-05 01:48:06 +0100 |
commit | 07d378cffded21626289e96a2730cc65dd67d1e2 (patch) | |
tree | cdd5cfa825978ef589e5d272ab7a259bddc9322b /core | |
parent | a218665f8abb6e6a8b69360c8034b8afd0ee9bd4 (diff) | |
download | AntennaPod-07d378cffded21626289e96a2730cc65dd67d1e2.zip |
Tell DownloadLogFragment to refresh
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/storage/DBWriter.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/storage/DBWriter.java b/core/src/main/java/de/danoeh/antennapod/core/storage/DBWriter.java index 24519f10d..f74064cfc 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/storage/DBWriter.java +++ b/core/src/main/java/de/danoeh/antennapod/core/storage/DBWriter.java @@ -223,6 +223,11 @@ public class DBWriter { } EventDistributor.getInstance().sendFeedUpdateBroadcast(); + // we assume we also removed download log entries for the feed or its media files. + // especially important if download or refresh failed, as the user should not be able + // to retry these + EventDistributor.getInstance().sendDownloadLogUpdateBroadcast(); + BackupManager backupManager = new BackupManager(context); backupManager.dataChanged(); } |