diff options
author | Kensuke Matsui <kensuke.matsui@sony.com> | 2017-07-21 17:35:10 +0900 |
---|---|---|
committer | Yoshinori Hirano <Yoshinori.Hirano@sonymobile.com> | 2017-09-06 06:29:11 +0000 |
commit | 8dd4d35aa33652adda822919de369fbd7efbeed6 (patch) | |
tree | 5ac7fba94527c832559321e795e4bafd95749952 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9465abf8af7c35fad0d7d48fa2d6bee01a910fe5 (diff) |
Fix NPE in StatusBar#onBackPressed()
StatusBar.mKeyguardUserSwitcher is instantiated
only if multi user function is enabled.
But mKeyguardUserSwitcher.hideIfNotSimple() is invoked
without null check in StatusBar#onBackPressed().
This causes NPE on multi user disabled devices.
Fixes: 65391930
Test: manual - tap Back key on lockscreen
Change-Id: I528823fa832ee5096d73dea660997fc276d86c5c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions