Merge "Only refresh the launcher resume state when the task launch fails" into udc-dev

This commit is contained in:
Winson Chung authored and Android (Google) Code Review committed 2023-05-11 23:31:21 +00:00
commit e04071e19c
4 files changed
+16 -4

No files matched your search

@@ -207,10 +207,6 @@ public class TaskbarLauncherStateController {
com.android.launcher3.taskbar.Utilities.setOverviewDragState(
mControllers, finalState.disallowTaskbarGlobalDrag(),
disallowLongClick, finalState.allowTaskbarInitialSplitSelection());
// LauncherTaskbarUIController depends on the state when checking whether
// to handle resume, so it should also be poked if current state changes
mLauncher.getTaskbarUIController().onLauncherResumedOrPaused(
mLauncher.hasBeenResumed());
}
};