Fix NPE.
Bug: 5192200 Change-Id: Ifd869f92969016ea9c3ff9c5fa0a2a0f197c6cbf
This commit is contained in:
@@ -1505,7 +1505,9 @@ public class PhoneStatusBar extends StatusBar {
|
||||
if (lightsOut) {
|
||||
animateCollapse();
|
||||
}
|
||||
mNavigationBarView.setLowProfile(lightsOut);
|
||||
if (mNavigationBarView != null) {
|
||||
mNavigationBarView.setLowProfile(lightsOut);
|
||||
}
|
||||
}
|
||||
|
||||
notifyUiVisibilityChanged();
|
||||
|
||||
Reference in New Issue
Block a user