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 7a563c7f764f5..fe9eceb797d7c 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 @@ public class PhoneStatusBar extends StatusBar { if (lightsOut) { animateCollapse(); } - mNavigationBarView.setLowProfile(lightsOut); + if (mNavigationBarView != null) { + mNavigationBarView.setLowProfile(lightsOut); + } } notifyUiVisibilityChanged();