Allow KQS to be reopened during the close animation for responsiveness
Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED Fixes: 327421402 Test: quickly quick switched during close animation Change-Id: I11dad62d11afd796aadf9b6165f0b4404f344311
This commit is contained in:
@@ -97,7 +97,11 @@ public final class KeyboardQuickSwitchController implements
|
||||
|
||||
private void openQuickSwitchView(int currentFocusedIndex) {
|
||||
if (mQuickSwitchViewController != null) {
|
||||
return;
|
||||
if (!mQuickSwitchViewController.isCloseAnimationRunning()) {
|
||||
return;
|
||||
}
|
||||
// Allow the KQS to be reopened during the close animation to make it more responsive
|
||||
closeQuickSwitchView(false);
|
||||
}
|
||||
TaskbarOverlayContext overlayContext =
|
||||
mControllers.taskbarOverlayController.requestWindow();
|
||||
|
||||
Reference in New Issue
Block a user