From 07ba067ae9de79dbcbbd54f323402578d96f1282 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Fri, 18 Feb 2022 23:06:02 +0100 Subject: 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. --- .../androidTest/java/de/test/antennapod/storage/AutoDownloadTest.java | 1 - 1 file changed, 1 deletion(-) (limited to 'app/src/androidTest') 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) -- cgit v1.2.3