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

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20838733

Change-Id: I318a1769220d5305f621d335de5aa657c4c89110
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2023-01-05 16:08:04 +00:00
committed by Automerger Merge Worker

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.