Fix narrow statusbar when folding
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
Loading
Please register or sign in to comment