Merge pull request #11843 from dean36963/fullscreen_play_button_when_paused

When entering fullscreen, allow for paused state
This commit is contained in:
Andy Scherzinger 2023-07-28 10:23:31 +02:00 committed by GitHub
commit f7fa8b8019
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,6 +150,9 @@ class PreviewVideoFullscreenDialog(
}
mExoPlayer.addListener(playListener)
playingStateListener = playListener
// Run once to set initial state of play or pause buttons
playListener.onIsPlayingChanged(sourceExoPlayer.isPlaying)
}
override fun onBackPressed() {