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

Commit 4e414ca0 authored by Tracy Zhou's avatar Tracy Zhou Committed by Automerger Merge Worker
Browse files

Merge "Map META+L to lock the device" into udc-qpr-dev am: 017cdf10

parents 6402bd80 017cdf10
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3046,6 +3046,12 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                    return key_consumed;
                }
                break;
            case KeyEvent.KEYCODE_L:
                if (down && event.isMetaPressed() && repeatCount == 0) {
                    lockNow(null /* options */);
                    return key_consumed;
                }
                break;
            case KeyEvent.KEYCODE_N:
                if (down && event.isMetaPressed()) {
                    if (event.isCtrlPressed()) {