mirror of
https://github.com/androidx/media.git
synced 2025-05-07 07:30:22 +08:00
Fix issue delivering events to PlayerView OnClickListener
This commit is contained in:
parent
4acdc8d0b7
commit
e5bf47e8cf
@ -1035,6 +1035,12 @@ public class PlayerView extends FrameLayout {
|
||||
if (ev.getActionMasked() != MotionEvent.ACTION_DOWN) {
|
||||
return false;
|
||||
}
|
||||
return performClick();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean performClick() {
|
||||
super.performClick();
|
||||
return toggleControllerVisibility();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user