Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Do not show context menu for videos (#2194)
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro authored and bluemarvin committed Nov 7, 2019
1 parent 8e45d1f commit f012da3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1463,6 +1463,9 @@ private void hideContextMenus() {

@Override
public void onContextMenu(GeckoSession session, int screenX, int screenY, ContextElement element) {
if (element.type == ContextElement.TYPE_VIDEO) {
return;
}
TelemetryWrapper.longPressContextMenuEvent();

hideContextMenus();
Expand Down

0 comments on commit f012da3

Please sign in to comment.