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

Commit 122da932 authored by Cary Clark's avatar Cary Clark
Browse files

defer accelerator keys to hosting application

Allow the hosting application to do what they want if the
control key is pressed. In particular, let our Browser
map Ctrl-arrow to back and forward.

bug:3270434
Change-Id: I2dfa648edbf5a0e48b674df5023182b4a70985f6
parent 7d4b0062
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4485,6 +4485,11 @@ public class WebView extends AbsoluteLayout
                    + ", " + event + ", unicode=" + event.getUnicodeChar());
        }

        // don't implement accelerator keys here; defer to host application
        if (event.isCtrlPressed()) {
            return false;
        }

        if (mNativeClass == 0) {
            return false;
        }