diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2021-11-04 20:43:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 20:43:20 +0100 |
commit | c691a999d957e9f6cb27d3adf386b6b96cd7d6c8 (patch) | |
tree | c2f2b25f19bbef05a22a477a100437b3ec06f1ed /app/src/main/java/de/danoeh/antennapod/adapter | |
parent | 860dd69c37fe78cedc90546cd7599a051dc49b1d (diff) | |
parent | 524e5c95fc20e9cc25bbe1012a287920fc6030bd (diff) | |
download | AntennaPod-c691a999d957e9f6cb27d3adf386b6b96cd7d6c8.zip |
Merge pull request #5516 from ByteHamster/auto-download-backoff
Fix auto-download retry backoff
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/adapter')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java index dedf8e5e6..a2b0e98c3 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/CancelDownloadActionButton.java @@ -34,7 +34,7 @@ public class CancelDownloadActionButton extends ItemActionButton { FeedMedia media = item.getMedia(); DownloadRequester.getInstance().cancelDownload(context, media); if (UserPreferences.isEnableAutodownload()) { - item.setAutoDownload(false); + item.disableAutoDownload(); DBWriter.setFeedItem(item); } } |