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

Commit de9c116e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Alarm: ignore back key during power off alarm"

parents 67479f3d e8909f04
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3004,7 +3004,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        if (isAlarmBoot && (keyCode == KeyEvent.KEYCODE_HOME
                || keyCode == KeyEvent.KEYCODE_SEARCH
                || keyCode == KeyEvent.KEYCODE_MENU
                || keyCode == KeyEvent.KEYCODE_APP_SWITCH)) {
                || keyCode == KeyEvent.KEYCODE_APP_SWITCH
                || keyCode == KeyEvent.KEYCODE_BACK)) {
            return -1;
        }