DO NOT MERGE. Prevent recents from coming up when in SUW
Bug: 25229538 Change-Id: If4f276d3f7c04fd89011068d90a3c3c60593bc05
This commit is contained in:
@@ -2720,7 +2720,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;
|
||||
|
||||
Reference in New Issue
Block a user