Merge pull request #4593 from ByteHamster/force-start-service

Prevent play/pause button not doing anything in some cases
This commit is contained in:
ByteHamster 2020-10-25 19:16:02 +01:00 committed by GitHub
commit 342ad86467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;