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

Commit 0bb01cfe authored by George Mount's avatar George Mount Committed by Android (Google) Code Review
Browse files

Merge "Allow long press to work on text."

parents 0e5bd8da e3e26c41
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1486,8 +1486,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
        switch (eventType) {
        case WebViewInputDispatcher.EVENT_TYPE_LONG_PRESS:
            HitTestResult hitTest = getHitTestResult();
            if (hitTest != null
                    && hitTest.getType() != HitTestResult.UNKNOWN_TYPE) {
            if (hitTest != null) {
                performLongClick();
            }
            break;