Merge "Disallow long click on taskbar icons while animating home." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
e698c7237a
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user