summaryrefslogtreecommitdiff
path: root/app/src/androidTest
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2021-11-04 20:43:20 +0100
committerGitHub <noreply@github.com>2021-11-04 20:43:20 +0100
commitc691a999d957e9f6cb27d3adf386b6b96cd7d6c8 (patch)
treec2f2b25f19bbef05a22a477a100437b3ec06f1ed /app/src/androidTest
parent860dd69c37fe78cedc90546cd7599a051dc49b1d (diff)
parent524e5c95fc20e9cc25bbe1012a287920fc6030bd (diff)
downloadAntennaPod-c691a999d957e9f6cb27d3adf386b6b96cd7d6c8.zip
Merge pull request #5516 from ByteHamster/auto-download-backoff
Fix auto-download retry backoff
Diffstat (limited to 'app/src/androidTest')
-rw-r--r--app/src/androidTest/java/de/test/antennapod/service/playback/PlaybackServiceTaskManagerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/androidTest/java/de/test/antennapod/service/playback/PlaybackServiceTaskManagerTest.java b/app/src/androidTest/java/de/test/antennapod/service/playback/PlaybackServiceTaskManagerTest.java
index 808cb5268..013d4db50 100644
--- a/app/src/androidTest/java/de/test/antennapod/service/playback/PlaybackServiceTaskManagerTest.java
+++ b/app/src/androidTest/java/de/test/antennapod/service/playback/PlaybackServiceTaskManagerTest.java
@@ -146,7 +146,7 @@ public class PlaybackServiceTaskManagerTest {
FeedItem item = DBReader.getFeedItem(testItem.getId());
item.getMedia().setDownloaded(true);
item.getMedia().setFile_url("file://123");
- item.setAutoDownload(false);
+ item.disableAutoDownload();
DBWriter.setFeedMedia(item.getMedia()).get();
DBWriter.setFeedItem(item).get();