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

Commit 11d6c246 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add logs for power key in interceptKeyBeforeQueueing"

parents b8a61803 24201e6e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3807,6 +3807,9 @@ public class PhoneWindowManager implements WindowManagerPolicy {
            }

            case KeyEvent.KEYCODE_POWER: {
                Slog.d(TAG, "interceptKeyBeforeQueueing: KEYCODE_POWER "
                        + KeyEvent.actionToString(event.getAction())
                        + " mPowerKeyHandled=" + mPowerKeyHandled + " b/128933363");
                // Any activity on the power button stops the accessibility shortcut
                cancelPendingAccessibilityShortcutAction();
                result &= ~ACTION_PASS_TO_USER;