Implement "pause/play" toggle on hardware keyboard space button.
This commit is contained in:
parent
522d6d8b01
commit
aea912f499
2 changed files with 3 additions and 0 deletions
|
|
@ -1850,6 +1850,7 @@ public final class VideoDetailFragment
|
|||
|
||||
if (fullscreen) {
|
||||
hideSystemUiIfNeeded();
|
||||
binding.overlayPlayPauseButton.requestFocus();
|
||||
} else {
|
||||
showSystemUi();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue