summaryrefslogtreecommitdiff
path: root/app/src/androidTest
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-02-18 23:06:02 +0100
committerByteHamster <info@bytehamster.com>2022-02-18 23:06:06 +0100
commit07ba067ae9de79dbcbbd54f323402578d96f1282 (patch)
treec409be651b59fdf83d6c969fb386acb28f47744a /app/src/androidTest
parent37eec9902b8a92d1cda8cdbdbe93d9254b2e4034 (diff)
downloadAntennaPod-07ba067ae9de79dbcbbd54f323402578d96f1282.zip
Decide whether or not to stream on demand
Fixes a bug where local folders sometimes did not start because AntennaPod thought it needed to play locally. Also avoids situations in which it streams even though a local file is available. Simplifies the PlaybackService slightly.
Diffstat (limited to 'app/src/androidTest')
-rw-r--r--app/src/androidTest/java/de/test/antennapod/storage/AutoDownloadTest.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/src/androidTest/java/de/test/antennapod/storage/AutoDownloadTest.java b/app/src/androidTest/java/de/test/antennapod/storage/AutoDownloadTest.java
index 23c129cb1..c9b8ef371 100644
--- a/app/src/androidTest/java/de/test/antennapod/storage/AutoDownloadTest.java
+++ b/app/src/androidTest/java/de/test/antennapod/storage/AutoDownloadTest.java
@@ -100,7 +100,6 @@ public class AutoDownloadTest {
new PlaybackServiceStarter(context, media)
.callEvenIfRunning(true)
.startWhenPrepared(true)
- .shouldStream(true)
.start();
Awaitility.await("episode is playing")
.atMost(2000, MILLISECONDS)