Fix KQS app launch through tapping
KeyboardQuickSwitchView only ever has 2 direct children, and all of the task views we're actually concerned with are in a scrollview. removing the extra index handling as this is being handled properly downstream. Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED Fixes: 328692760 Fixes: 304518513 Test: opened KQS and tapped all tasks (6 + overview) Change-Id: I4e919cce7f1ab55822f93d34c1533062a71aa879
This commit is contained in:
@@ -238,8 +238,7 @@ public class KeyboardQuickSwitchViewController {
|
||||
}
|
||||
|
||||
void launchTaskAt(int index) {
|
||||
mCurrentFocusIndex = Utilities.boundToRange(
|
||||
index, 0, mKeyboardQuickSwitchView.getChildCount() - 1);
|
||||
mCurrentFocusIndex = index;
|
||||
mControllers.taskbarActivityContext.launchKeyboardFocusedTask();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user