summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEvan Laird <evanlaird@google.com>2018-09-18 17:39:55 -0400
committerEvan Laird <evanlaird@google.com>2018-09-18 17:45:28 -0400
commit91d0f10a36667ba9fec5caff620560792534f3ee (patch)
tree9f8638f3c913406d76f72f39e2fb96865765aea6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentfec7766594cc8117ce6d9f01a21ed11e7074b4c6 (diff)
Fix notifications showing on keyguard
The root cause here is that some components (NotificationKeyguardUserManager, NotificationStackScrollLayout, NotificationShelf) have subtle dependencies about how they update based on StatusBarState which used to be satisfied. When we migrated to StatusBarStateController the dependencies were broken sometimes. The fix here is multifactorial: 1. Introduce a ranking to StatusBarStateController listeners so that we can unwind the dependencies for now. (This should be fixed long-term) 2. Move NSSL's actual notification updating to a new onStatePostChange() method of the listeners 3. Explicitly call updatePublicMode() when hiding the keyguard because SbStateController does not give callbacks when setting a state to the same value. Will move updatePublicMode into NotificationKeyguardUserManager in a later commit to reduce the surface area here. Bug: 115739177 Change-Id: I97786619a1843922aeedcdb51e067a7c46cacaec Fixes: 114297820 Test: manual
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions