Skip to content

Commit

Permalink
Fix issue delivering events to PlayerView OnClickListener
Browse files Browse the repository at this point in the history
  • Loading branch information
ojw28 committed Jan 30, 2019
1 parent 4acdc8d commit e5bf47e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,12 @@ public boolean onTouchEvent(MotionEvent ev) {
if (ev.getActionMasked() != MotionEvent.ACTION_DOWN) {
return false;
}
return performClick();
}

@Override
public boolean performClick() {
super.performClick();
return toggleControllerVisibility();
}

Expand Down

0 comments on commit e5bf47e

Please sign in to comment.