commit | 8dd4d35aa33652adda822919de369fbd7efbeed6 | [log] [tgz] |
---|---|---|
author | Kensuke Matsui <kensuke.matsui@sony.com> | Fri Jul 21 17:35:10 2017 +0900 |
committer | Yoshinori Hirano <Yoshinori.Hirano@sonymobile.com> | Wed Sep 06 06:29:11 2017 +0000 |
tree | 5ac7fba94527c832559321e795e4bafd95749952 | |
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