Fix shadowRadius not being used in swipe up animation.

Bug: 168608912
Change-Id: I08f7bb057237e5061d5f1fc29afb488b204ee385
This commit is contained in:
Jon Miranda
2020-10-12 12:09:22 -07:00
parent a433fe1fb3
commit 2d7bfc8782
@@ -261,7 +261,7 @@ public abstract class SwipeUpAnimationLogic {
mTransformParams
.setTargetAlpha(getWindowAlpha(progress))
.setCornerRadius(cornerRadius)
.setShadowRadius(mMaxShadowRadius);
.setShadowRadius(shadowRadius);
mTransformParams.applySurfaceParams(mTransformParams.createSurfaceParams(this));
mAnimationFactory.update(currentRect, progress, mMatrix.mapRadius(cornerRadius));