OSDN Git Service

Keeping the lockdown state in sync with the notification list
authorSelim Cinek <cinek@google.com>
Tue, 12 Jun 2018 00:26:34 +0000 (17:26 -0700)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Wed, 13 Jun 2018 00:28:23 +0000 (00:28 +0000)
commitef824689800f0796cd90a32887cfac510d826449
treefd8f76236f920df6bbd7eb576a962250675455d5
parent96d0c0cf937b0dd4f92cb7470192ddd2eec9ffa7
Keeping the lockdown state in sync with the notification list

Whenever the lockdown was changed, the UI wasn't consistently
updated, but only once another notification / update came
in, which lead to notifications being invisisible or visible
when they shouldn't have been.

Change-Id: I17c1b4e0ef58d6aa05f4404e52e07a098d4fce4e
Fixes: 78020486
Test: manual, hit lockdown observe notification gone, coming back when unlocked
(cherry picked from commit ddb7b47dd0c875318669cc2d68f84de49710d138)
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java