Merge pull request #3584 from ByteHamster/fix-streaming-notification
Do not display streaming notification if continuous playback is disabled
This commit is contained in:
commit
17dc3c7471
|
@ -895,7 +895,8 @@ public class PlaybackService extends MediaBrowserServiceCompat {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!nextItem.getMedia().localFileAvailable() && !NetworkUtils.isStreamingAllowed()) {
|
if (!nextItem.getMedia().localFileAvailable() && !NetworkUtils.isStreamingAllowed()
|
||||||
|
&& UserPreferences.isFollowQueue()) {
|
||||||
displayStreamingNotAllowedNotification(
|
displayStreamingNotAllowedNotification(
|
||||||
new PlaybackServiceStarter(this, nextItem.getMedia())
|
new PlaybackServiceStarter(this, nextItem.getMedia())
|
||||||
.prepareImmediately(true)
|
.prepareImmediately(true)
|
||||||
|
|
Loading…
Reference in New Issue