Merge "Prevent tap in swipe up zone from closing KQS" into main

This commit is contained in:
Treehugger Robot authored and Android (Google) Code Review committed 2024-10-29 01:57:55 +00:00
commit 5e77702197
5 files changed
+30 -8

No files matched your search

@@ -29,7 +29,6 @@ import static com.android.launcher3.AbstractFloatingView.TYPE_ON_BOARD_POPUP;
import static com.android.launcher3.AbstractFloatingView.TYPE_REBIND_SAFE;
import static com.android.launcher3.AbstractFloatingView.TYPE_TASKBAR_OVERLAY_PROXY;
import static com.android.launcher3.Flags.enableCursorHoverStates;
import static com.android.launcher3.Flags.taskbarOverflow;
import static com.android.launcher3.Utilities.calculateTextHeight;
import static com.android.launcher3.Utilities.isRunningInTestHarness;
import static com.android.launcher3.config.FeatureFlags.ENABLE_TASKBAR_NAVBAR_UNIFICATION;
@@ -1217,9 +1216,7 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
boolean shouldCloseAllOpenViews = true;
Object tag = view.getTag();
if (taskbarOverflow()) {
mControllers.keyboardQuickSwitchController.closeQuickSwitchView(false);
}
mControllers.keyboardQuickSwitchController.closeQuickSwitchView(false);
if (tag instanceof GroupTask groupTask) {
handleGroupTaskLaunch(