diff options
author | Michael Wright <michaelwr@google.com> | 2014-08-21 16:57:33 -0700 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2014-08-21 16:57:33 -0700 |
commit | 61c4675ff435464b93a8e298143516fa504ceedb (patch) | |
tree | cd607a9201bb4aeecd131823b444250fe5a3e226 /policy/src/com | |
parent | 75f9918760ca3eb6cf753737fb34fb57146a5e59 (diff) | |
download | frameworks_base-61c4675ff435464b93a8e298143516fa504ceedb.zip frameworks_base-61c4675ff435464b93a8e298143516fa504ceedb.tar.gz frameworks_base-61c4675ff435464b93a8e298143516fa504ceedb.tar.bz2 |
Remove Meta-Tab shortcut for Recents.
Bug: 16904053
Change-Id: I45e87c655738fece1d3899ec68bc3813700831bb
Diffstat (limited to 'policy/src/com')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index 3f7c72e..78028d4 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -2458,13 +2458,11 @@ public class PhoneWindowManager implements WindowManagerPolicy { } } - // Display task switcher for ALT-TAB or Meta-TAB. + // Display task switcher for ALT-TAB. if (down && repeatCount == 0 && keyCode == KeyEvent.KEYCODE_TAB) { if (mRecentAppsHeldModifiers == 0 && !keyguardOn) { final int shiftlessModifiers = event.getModifiers() & ~KeyEvent.META_SHIFT_MASK; - if (KeyEvent.metaStateHasModifiers(shiftlessModifiers, KeyEvent.META_ALT_ON) - || KeyEvent.metaStateHasModifiers( - shiftlessModifiers, KeyEvent.META_META_ON)) { + if (KeyEvent.metaStateHasModifiers(shiftlessModifiers, KeyEvent.META_ALT_ON)) { mRecentAppsHeldModifiers = shiftlessModifiers; showRecentApps(true); return -1; |