Prevent play/pause button not doing anything in some cases

This commit is contained in:
ByteHamster 2020-10-24 23:52:09 +02:00
parent 6e6405fd51
commit 058885ac09
1 changed files with 1 additions and 0 deletions

View File

@ -512,6 +512,7 @@ public class PlaybackController {
new PlaybackServiceStarter(activity, media)
.startWhenPrepared(true)
.streamIfLastWasStream()
.callEvenIfRunning(true)
.start();
Log.w(TAG, "Play/Pause button was pressed and PlaybackService state was unknown");
break;