diff options
| author | 2017-09-06 15:17:05 +0000 | |
|---|---|---|
| committer | 2017-09-06 15:17:05 +0000 | |
| commit | 10379e1f17c06619a25d941c60c1aa61109ef93a (patch) | |
| tree | a909f931636f2aeae649f5ba14a7629a58f323f7 | |
| parent | a672ffa42f20facf1aa76c86363ce2fa789979e3 (diff) | |
| parent | 6cfa7f2feece6a59b6dc1809c9f4a6b71384f148 (diff) | |
Merge "Fix NPE in StatusBar#onBackPressed()"
am: 6cfa7f2fee
Change-Id: Ic29857e67231ff109535adf18882b869d7ce6af1
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java index 3d2213bf56e8..982155c8474a 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java @@ -4712,7 +4712,7 @@ public class StatusBar extends SystemUI implements DemoMode, animateCollapsePanels(); return true; } - if (mKeyguardUserSwitcher.hideIfNotSimple(true)) { + if (mKeyguardUserSwitcher != null && mKeyguardUserSwitcher.hideIfNotSimple(true)) { return true; } return false; |