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

Commit 0e47941d authored by Michael Wright's avatar Michael Wright Committed by Android (Google) Code Review
Browse files

Merge "Cancel pending meta actions when the key pressed *isn't* meta." into lmp-dev

parents 4b4d7efe 251e35da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2176,7 +2176,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {

        // Cancel any pending meta actions if we see any other keys being pressed between the down
        // of the meta key and its corresponding up.
        if (mPendingMetaAction && KeyEvent.isMetaKey(keyCode)) {
        if (mPendingMetaAction && !KeyEvent.isMetaKey(keyCode)) {
            mPendingMetaAction = false;
        }