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

Commit 61c4675f authored by Michael Wright's avatar Michael Wright
Browse files

Remove Meta-Tab shortcut for Recents.

Bug: 16904053
Change-Id: I45e87c655738fece1d3899ec68bc3813700831bb
parent 75f99187
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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;