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

Commit 001c57db authored by Andrei Stingaceanu's avatar Andrei Stingaceanu Committed by android-build-merger
Browse files

Keyboard shortcuts: disable toggling from lockscreen

am: 002f7121

* commit '002f7121':
  Keyboard shortcuts: disable toggling from lockscreen

Change-Id: I25100e315011893761f6bb2b7bfa6c5416132602
parents 848785f2 002f7121
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -3107,11 +3107,9 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                return -1;
            }
        } else if (keyCode == KeyEvent.KEYCODE_SLASH && event.isMetaPressed()) {
            if (down) {
                if (repeatCount == 0) {
            if (down && repeatCount == 0 && !isKeyguardLocked()) {
                toggleKeyboardShortcutsMenu(event.getDeviceId());
            }
            }
        } else if (keyCode == KeyEvent.KEYCODE_ASSIST) {
            if (down) {
                if (repeatCount == 0) {