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

Commit 333db2e1 authored by Michael Wright's avatar Michael Wright
Browse files

DO NOT MERGE. Prevent recents from coming up when in SUW

Bug: 25229538
Change-Id: Ib19f368e9ef383ba5e60ea0b88193178d5769469
parent d45a18c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2968,7 +2968,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {

        // Display task switcher for ALT-TAB.
        if (down && repeatCount == 0 && keyCode == KeyEvent.KEYCODE_TAB) {
            if (mRecentAppsHeldModifiers == 0 && !keyguardOn) {
            if (mRecentAppsHeldModifiers == 0 && !keyguardOn && isUserSetupComplete()) {
                final int shiftlessModifiers = event.getModifiers() & ~KeyEvent.META_SHIFT_MASK;
                if (KeyEvent.metaStateHasModifiers(shiftlessModifiers, KeyEvent.META_ALT_ON)) {
                    mRecentAppsHeldModifiers = shiftlessModifiers;