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

Commit 25b34efb authored by Vaibhav Devmurari's avatar Vaibhav Devmurari Committed by Cherrypicker Worker
Browse files

Fix: Block opening settings app on keyguard without user auth

Test: atest KeyGestureEventTests
Bug: 378900798
Flag: EXEMPT bugfix
(cherry picked from commit d6152984)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e4d483a2ef99a71c6fcd6ad2e6c2f8f88ba380f4)
Merged-In: I89d43872108710d20e0c4ef7e652d389896155d7
Change-Id: I89d43872108710d20e0c4ef7e652d389896155d7
parent b517b0f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3110,7 +3110,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                }
                break;
            case KeyEvent.KEYCODE_I:
                if (firstDown && event.isMetaPressed()) {
                if (firstDown && event.isMetaPressed() && isUserSetupComplete() && !keyguardOn) {
                    showSystemSettings();
                    logKeyboardSystemsEvent(event, KeyboardLogEvent.LAUNCH_SYSTEM_SETTINGS);
                    return true;