mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Fix single tap on video previews.
This commit is contained in:
@@ -196,6 +196,15 @@ public class VideoPlayer extends FrameLayout {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setOnClickListener(@Nullable OnClickListener l) {
|
||||
if (this.exoView != null) {
|
||||
this.exoView.setClickable(false);
|
||||
}
|
||||
|
||||
super.setOnClickListener(l);
|
||||
}
|
||||
|
||||
public @Nullable View getControlView() {
|
||||
return this.exoControls;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user