Skip to content
Commit d56285ed authored by Nick Chameyev's avatar Nick Chameyev
Browse files

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
parent f322436d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment