Fix bottom split disappeared after unlock
Make sure to offset tasks properly in y axis when performing unlock animation. Bug: 278282153 Test: manual Change-Id: I11f421db3c3a8be0d525b5005fb7d0cb36f63c62
This commit is contained in:
@@ -792,7 +792,8 @@ class KeyguardUnlockAnimationController @Inject constructor(
|
||||
// Translate up from the bottom.
|
||||
surfaceBehindMatrix.setTranslate(
|
||||
surfaceBehindRemoteAnimationTarget.localBounds.left.toFloat(),
|
||||
surfaceHeight * SURFACE_BEHIND_START_TRANSLATION_Y * (1f - amount)
|
||||
surfaceBehindRemoteAnimationTarget.localBounds.top.toFloat() +
|
||||
surfaceHeight * SURFACE_BEHIND_START_TRANSLATION_Y * (1f - amount)
|
||||
)
|
||||
|
||||
// Scale up from a point at the center-bottom of the surface.
|
||||
|
||||
Reference in New Issue
Block a user