Merge pull request #5562 from mbarashkov/hardware_keyboard_space_shortcut_v2

Implement "pause/play" toggle on hardware keyboard space button.
This commit is contained in:
Tobi 2021-03-14 13:08:44 +01:00 committed by GitHub
commit 8271409afe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View file

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