packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/PhoneStatusBarViewControllerTest.kt
+1
−1
+104
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Do not re-create UnfoldMoveFromCenterAnimator when attaching/detaching status bar view. UnfoldMoveFromCenterAnimator contains last transition progress state which is 0f by default. When transition finishes last state should be 1f but because animator was re-created it was reset to 0f which caused applying translations to the status bar items. Fixes: 204970935 Test: atest com.android.systemui.statusbar.phone.StatusBarMoveFromCenterAnimationControllerTest Test: unfold, fold, rotate to landscape => statusbar displayed correctly Change-Id: Id8f6de4c1b6a2fde1ad9f2a0b0b7492aa4e4b2bf