Close the KQS view when touching the gesture nav region

Also, stop handling KQS open/close during gestures

Flag: LEGACY ENABLE_KEYBOARD_QUICK_SWITCH ENABLED
Fixes: 328689890
Fixes: 328689534
Fixes: 328692760
Test: attempted gestures while KQS is shown. attempted KQS while attempting gestures
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:14d912b062e69fe8bc4729b6f8b40e53d5b4a669)
Merged-In: Idbd1f9cef09d9fbf611350d0847d94ccf8300369
Change-Id: Idbd1f9cef09d9fbf611350d0847d94ccf8300369
This commit is contained in:
Schneider Victor-tulias authored and Android Build Coastguard Worker committed 2024-03-26 23:36:33 +00:00
1 parent 86c625ce81
commit ed9b5e0a5a
5 files changed
+45 -23

No files matched your search

@@ -193,10 +193,14 @@ public final class KeyboardQuickSwitchController implements
}
void closeQuickSwitchView() {
closeQuickSwitchView(true);
}
void closeQuickSwitchView(boolean animate) {
if (mQuickSwitchViewController == null) {
return;
}
mQuickSwitchViewController.closeQuickSwitchView(true);
mQuickSwitchViewController.closeQuickSwitchView(animate);
}
/**