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

Commit e3e26c41 authored by George Mount's avatar George Mount
Browse files

Allow long press to work on text.

 Bug 6351196

Change-Id: I7604ebe70ab58d17b916f92e364343776b66aa3c
parent 3dfc82b5
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;