commit | 2d7bfc8782e9ed01178672aeb09ba2a6a07f4f4c | [log] [tgz] |
---|---|---|
author | Jon Miranda <jonmiranda@google.com> | Mon Oct 12 12:09:22 2020 -0700 |
committer | Jon Miranda <jonmiranda@google.com> | Mon Oct 12 12:09:22 2020 -0700 |
tree | d17cddfa426610aaadadf4b4c07a4accdaf909dc | |
parent | a433fe1fb34715efb38ed094f39da49fce8cd51e [diff] |
Fix shadowRadius not being used in swipe up animation. Bug: 168608912 Change-Id: I08f7bb057237e5061d5f1fc29afb488b204ee385
diff --git a/quickstep/src/com/android/quickstep/SwipeUpAnimationLogic.java b/quickstep/src/com/android/quickstep/SwipeUpAnimationLogic.java index a46de1f..7406dea 100644 --- a/quickstep/src/com/android/quickstep/SwipeUpAnimationLogic.java +++ b/quickstep/src/com/android/quickstep/SwipeUpAnimationLogic.java
@@ -261,7 +261,7 @@ mTransformParams .setTargetAlpha(getWindowAlpha(progress)) .setCornerRadius(cornerRadius) - .setShadowRadius(mMaxShadowRadius); + .setShadowRadius(shadowRadius); mTransformParams.applySurfaceParams(mTransformParams.createSurfaceParams(this)); mAnimationFactory.update(currentRect, progress, mMatrix.mapRadius(cornerRadius));