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

Commit 83a7b963 authored by Cary Clark's avatar Cary Clark Committed by Android (Google) Code Review
Browse files

Merge "only allow dpad center for key long press"

parents 711734a2 1477b8f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4656,7 +4656,7 @@ public class WebView extends AbsoluteLayout
            return false;
        }

        if (isEnterActionKey(keyCode)) {
        if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER) {
            switchOutDrawHistory();
            boolean wantsKeyEvents = nativeCursorNodePointer() == 0
                || nativeCursorWantsKeyEvents();