Merge "Fix alt-tab initial focus in overview on phones" into main

This commit is contained in:
Schneider Victor-tulias
2024-02-15 21:06:08 +00:00
committed by Android (Google) Code Review

View File

@@ -218,9 +218,13 @@ public class OverviewCommandHelper {
return true;
}
}
if (cmd.type == TYPE_KEYBOARD_INPUT && allowQuickSwitch) {
uiController.openQuickSwitchView();
return true;
if (cmd.type == TYPE_KEYBOARD_INPUT) {
if (allowQuickSwitch) {
uiController.openQuickSwitchView();
return true;
} else {
mKeyboardTaskFocusIndex = 0;
}
}
if (cmd.type == TYPE_HOME) {
ActiveGestureLog.INSTANCE.addLog("OverviewCommandHelper.executeCommand(TYPE_HOME)");