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

Commit a8ae3e94 authored by John Reck's avatar John Reck
Browse files

Call WebView.performLongClick instead of performLongClick()

 Bug: 6656538
 Due to the WebView/WebViewClassic refactor we need to call
 WebView.performLongClick instead of performLongClick directly
 to allow subclasses to override performLongClick

Change-Id: I9b580217fbafc82d03e63eabfdda9f5bad98db0f
parent d772c487
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1316,7 +1316,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
        case WebViewInputDispatcher.EVENT_TYPE_LONG_PRESS:
            HitTestResult hitTest = getHitTestResult();
            if (hitTest != null) {
                performLongClick();
                mWebView.performLongClick();
            }
            break;
        case WebViewInputDispatcher.EVENT_TYPE_DOUBLE_TAP:
@@ -7265,7 +7265,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
                    // the states
                    mGotCenterDown = false;
                    mTrackballDown = false;
                    performLongClick();
                    mWebView.performLongClick();
                    break;

                case WEBCORE_NEED_TOUCH_EVENTS: