Merge "Fix unlock transition double offset nested tasks" into udc-dev

This commit is contained in:
Jerry Chang
2023-04-20 06:24:28 +00:00
committed by Android (Google) Code Review

View File

@@ -791,7 +791,7 @@ class KeyguardUnlockAnimationController @Inject constructor(
// Translate up from the bottom.
surfaceBehindMatrix.setTranslate(
surfaceBehindRemoteAnimationTarget.screenSpaceBounds.left.toFloat(),
surfaceBehindRemoteAnimationTarget.localBounds.left.toFloat(),
surfaceHeight * SURFACE_BEHIND_START_TRANSLATION_Y * (1f - amount)
)