Always call prepare before starting playback,

otherwise resuming playback is difficult when the session was dismissed...
This commit is contained in:
tzugen 2022-05-30 16:24:24 +02:00
parent 669b51c0d2
commit 608f86ac5f
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ class MediaPlayerController(
if (jukeboxMediaPlayer.isEnabled) {
jukeboxMediaPlayer.start()
} else {
controller?.prepare()
controller?.play()
}
}