Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c451b76 authored by Grace Kloba's avatar Grace Kloba
Browse files

When mPreventDrag is true, don't respond to long press. This should prevent...

When mPreventDrag is true, don't respond to long press. This should prevent the context menu popping up in the Map sites.
parent 0d8b77c2
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -4571,9 +4571,11 @@ public class WebView extends AbsoluteLayout
                    break;
                }
                case SWITCH_TO_LONGPRESS: {
                    if (!mPreventDrag) {
                        mTouchMode = TOUCH_DONE_MODE;
                        performLongClick();
                        updateTextEntry();
                    }
                    break;
                }
                case SWITCH_TO_ENTER: