diff options
author | Evan Laird <evanlaird@google.com> | 2018-10-24 12:30:20 -0400 |
---|---|---|
committer | Evan Laird <evanlaird@google.com> | 2018-10-24 12:37:28 -0400 |
commit | b5d95d977cdb1454fe8fa717c1a89d0435c149e6 (patch) | |
tree | bcf07fb3eef08de7e8e1068e556b5b70ca1da638 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f887be23d1c725f9f454ca9180e81833e2ea8cce (diff) |
Fix StatusBar setting disable flags before setting up
StatusBar#start() was was trying to initialize disable flags before
finishing start(). This triggered
NotificationEntryManager#setDisableNotificationAlerts() before calling
NEM setUpWithPresenter.
Fixed by moving the disable flag setup to a post-init task and making
sure we set up the notification state before doing anything crazy
Fixes: 118357487
Test: verifying that there are no systemui exceptions after rebooting
that look like this:
java.lang.NullPointerException: Attempt to invoke virtual method
'void android.database.ContentObserver.onChange(boolean)' on a null
object reference
Change-Id: Id75a34c8f7414397d7f14de4b4638864262df426
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions