Implement "pause/play" toggle on hardware keyboard space button.

This commit is contained in:
Mikhail Barashkov 2021-02-12 11:58:15 +03:00
parent 522d6d8b01
commit aea912f499
2 changed files with 3 additions and 0 deletions

View file

@ -1850,6 +1850,7 @@ public final class VideoDetailFragment
if (fullscreen) {
hideSystemUiIfNeeded();
binding.overlayPlayPauseButton.requestFocus();
} else {
showSystemUi();
}