Merge "LauncherTaskbarUIController should only translate nav buttons on inAppProgresst if icon is aligned with hotseat" into tm-qpr-dev

This commit is contained in:
TreeHugger Robot
2023-01-05 15:29:05 +00:00
committed by Android (Google) Code Review

View File

@@ -310,7 +310,7 @@ public class LauncherTaskbarUIController extends TaskbarUIController {
return;
}
mTaskbarInAppDisplayProgress.put(progressIndex, progress);
if (!mControllers.taskbarStashController.isInApp()
if (mControllers.uiController.isIconAlignedWithHotseat()
&& !mTaskbarLauncherStateController.isAnimatingToLauncher()) {
// Only animate the nav buttons while home and not animating home, otherwise let
// the TaskbarViewController handle it.