Do not display streaming notification if continuous playback is disabled
This commit is contained in:
parent
562391c7d9
commit
48dc4a8345
|
@ -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