diff options
author | ByteHamster <info@bytehamster.com> | 2020-03-26 17:12:00 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-03-26 17:12:00 +0100 |
commit | 5a3778e2f03bafd5f30be189b9725e8a7e0d6a93 (patch) | |
tree | 84452b8e5844f90865b6565df0ca11d782217a6f /core | |
parent | b4b2b45247a92e7f7e43ab224598ef646608c7be (diff) | |
download | AntennaPod-5a3778e2f03bafd5f30be189b9725e8a7e0d6a93.zip |
Do not show buffering indicator when playing local file
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java b/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java index 8f21437b0..baf5d924f 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java @@ -743,6 +743,10 @@ public class PlaybackController { } } + public boolean isStreaming() { + return playbackService != null && playbackService.isStreaming(); + } + private void initServiceNotRunning() { if (getPlayButton() == null) { return; |