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

Commit f5ee9099 authored by Josep del Río's avatar Josep del Río Committed by Android (Google) Code Review
Browse files

Merge "Do not intercept Escape with modifiers" into main

parents 63c9ac69 ecde0cff
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3971,7 +3971,9 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                }
                return true;
            case KeyEvent.KEYCODE_ESCAPE:
                if (down && repeatCount == 0) {
                if (down
                        && KeyEvent.metaStateHasNoModifiers(metaState)
                        && repeatCount == 0) {
                    mContext.closeSystemDialogs();
                }
                return true;