Merge "Disallow long click on taskbar icons while animating home." into main

This commit is contained in:
Treehugger Robot
2024-09-11 19:08:24 +00:00
committed by Android (Google) Code Review
@@ -375,7 +375,7 @@ public class TaskbarLauncherStateController {
private void updateOverviewDragState(LauncherState launcherState) {
boolean disallowLongClick =
FeatureFlags.enableSplitContextually()
? mLauncher.isSplitSelectionActive()
? mLauncher.isSplitSelectionActive() || mIsAnimatingToLauncher
: launcherState == LauncherState.OVERVIEW_SPLIT_SELECT;
com.android.launcher3.taskbar.Utilities.setOverviewDragState(
mControllers, launcherState.disallowTaskbarGlobalDrag(),