Hide controls when resuming playback via double tap
Remove redundant comment about hiding controls on double tap
This commit is contained in:
parent
93aa8a1bb6
commit
ed67c8a640
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ abstract class BasePlayerGestureListener(
|
||||||
startMultiDoubleTap(event)
|
startMultiDoubleTap(event)
|
||||||
} else if (portion === DisplayPortion.MIDDLE) {
|
} else if (portion === DisplayPortion.MIDDLE) {
|
||||||
player.playPause()
|
player.playPause()
|
||||||
|
if (player.currentState == Player.STATE_PLAYING) {
|
||||||
|
playerUi.hideControls(0, 0)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue