mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
Merge pull request #11843 from dean36963/fullscreen_play_button_when_paused
When entering fullscreen, allow for paused state
This commit is contained in:
commit
f7fa8b8019
1 changed files with 3 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue