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

This commit is contained in:
Michael Wright
2014-08-25 17:23:25 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}