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

Commit 7cb8182e authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 5390 into donut

* changes:
  When mPreventDrag is true, don't respond to long press. This should prevent the context menu popping up in the Map sites.
parents 24a4f20c 6c451b76
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: