Fix Pinning Animation

Fix Pinning Animation.

Flag: EXEMPT not adding new behavior
Bug: 405469510
Test: m
Change-Id: Iabc580031495f39902cb4d718ab12a7362c07d13
This commit is contained in:
Sukesh Ram
2025-03-21 16:56:42 -07:00
parent 500698152c
commit 54f23ff654
@@ -496,7 +496,7 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
float finalScale;
TaskbarSharedState sharedState = mControllers.getSharedState();
if (sharedState != null || mControllers.getSharedState().startTaskbarVariantIsTransient) {
if (sharedState != null && sharedState.startTaskbarVariantIsTransient) {
finalScale = mapRange(scale, 1f, ((float) mPersistentIconSize / mTransientIconSize));
} else {
finalScale = mapRange(scale, ((float) mTransientIconSize / mPersistentIconSize), 1f);