mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix issue delivering events to PlayerView OnClickListener
This commit is contained in:
parent
4acdc8d0b7
commit
e5bf47e8cf
1 changed files with 6 additions and 0 deletions
|
|
@ -1035,6 +1035,12 @@ public class PlayerView extends FrameLayout {
|
||||||
if (ev.getActionMasked() != MotionEvent.ACTION_DOWN) {
|
if (ev.getActionMasked() != MotionEvent.ACTION_DOWN) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
return performClick();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean performClick() {
|
||||||
|
super.performClick();
|
||||||
return toggleControllerVisibility();
|
return toggleControllerVisibility();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue