Fix Pinning Animation
Fix Pinning Animation. Flag: EXEMPT not adding new behavior Bug: 405469510 Test: m Change-Id: Iabc580031495f39902cb4d718ab12a7362c07d13
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user