OSDN Git Service

Handle PhoneStatusBarPolicy user switch callbacks on main thread
authorToni Barzic <tbarzic@google.com>
Thu, 28 Apr 2016 01:10:58 +0000 (18:10 -0700)
committerJulia Reynolds <juliacr@google.com>
Tue, 17 May 2016 20:32:37 +0000 (20:32 +0000)
commite97f923c1820dab0f52a4b1731a92cefdfe2ce8a
treeb528bdd8c7e20ec93faa8aa43a5b7db722017c10
parent94789b4ddff239760adf91896bd6ea86b62d0137
Handle PhoneStatusBarPolicy user switch callbacks on main thread

Said callbacks poke around StatusBarIconController, which lives on
main thread and is not thread safe.

BUG=27047911
Bug:28613935

Change-Id: I880d79a237b03c06d72b5dff3db24bd60c7b8839
(cherry picked from commit 4f65092f5c95b89f48a48a916467b78d2a07ff89)
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java