Merge pull request #4593 from ByteHamster/force-start-service
Prevent play/pause button not doing anything in some cases
This commit is contained in:
commit
342ad86467
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue