Merge "Update taskbar state when launcher pauses" into tm-qpr-dev

This commit is contained in:
TreeHugger Robot
2022-10-14 03:23:40 +00:00
committed by Android (Google) Code Review

View File

@@ -173,7 +173,7 @@ public class LauncherTaskbarUIController extends TaskbarUIController {
}
}
if (ENABLE_SHELL_TRANSITIONS
if (ENABLE_SHELL_TRANSITIONS && isResumed
&& !mLauncher.getStateManager().getState().isTaskbarAlignedWithHotseat(mLauncher)) {
// Launcher is resumed, but in a state where taskbar is still independent, so
// ignore the state change.