commit | 69314e72941c86734c12476d1e61459811159b74 | [log] [tgz] |
---|---|---|
author | Daniel Sandler <dsandler@google.com> | Sat Aug 20 00:31:08 2011 -0400 |
committer | Daniel Sandler <dsandler@google.com> | Sat Aug 20 00:31:08 2011 -0400 |
tree | 8f4c153a31f0cbec9bc86855ba7f3e1565e96766 | |
parent | 86c471db06e35f0cd96e5505f8eae56294d0272f [diff] |
Fix NPE. Bug: 5192200 Change-Id: Ifd869f92969016ea9c3ff9c5fa0a2a0f197c6cbf
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 7a563c7..fe9eceb 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -1505,7 +1505,9 @@ if (lightsOut) { animateCollapse(); } - mNavigationBarView.setLowProfile(lightsOut); + if (mNavigationBarView != null) { + mNavigationBarView.setLowProfile(lightsOut); + } } notifyUiVisibilityChanged();