OSDN Git Service

Fix janky add guest transition
authorAdrian Roos <roosa@google.com>
Wed, 22 Jul 2015 21:59:48 +0000 (14:59 -0700)
committerAdrian Roos <roosa@google.com>
Wed, 22 Jul 2015 23:34:11 +0000 (23:34 +0000)
commit88b1193ea2880683a6a3fdf9a5a397370a166680
tree7d6b6193c92f8357798420fb14da02cdb252f5eb
parent75f6b94a5d5cadb218725011729466e8e438b231
Fix janky add guest transition

Delay updating the user switcher until the
switch is complete, so we aren't showing
an intermediate state while the screen is
frozen.

Also pokes the UserInfoController to update
the user avatar while the screen is still frozen
so it is ready by thawing time.

Bug: 22557684
Change-Id: I020b8c1ad42c03ab9162ed384ecfe54ed12f998d
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java