From 48dc4a8345901d2e096ad657a6fdf2b0d1253419 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Tue, 5 Nov 2019 23:51:38 +0100 Subject: [PATCH] Do not display streaming notification if continuous playback is disabled --- .../antennapod/core/service/playback/PlaybackService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java index 18d789dc3..e55caffb7 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java @@ -895,7 +895,8 @@ public class PlaybackService extends MediaBrowserServiceCompat { return null; } - if (!nextItem.getMedia().localFileAvailable() && !NetworkUtils.isStreamingAllowed()) { + if (!nextItem.getMedia().localFileAvailable() && !NetworkUtils.isStreamingAllowed() + && UserPreferences.isFollowQueue()) { displayStreamingNotAllowedNotification( new PlaybackServiceStarter(this, nextItem.getMedia()) .prepareImmediately(true)