Add null check for status bar transitions
Test: atest SystemUITests Bug: 150570478 Change-Id: I4c93a08ddcbe35a95b77012e2345bfa25167be1b
This commit is contained in:
@@ -2333,7 +2333,7 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
|
||||
void checkBarModes() {
|
||||
if (mDemoMode) return;
|
||||
if (mNotificationShadeWindowViewController != null) {
|
||||
if (mNotificationShadeWindowViewController != null && getStatusBarTransitions() != null) {
|
||||
checkBarMode(mStatusBarMode, mStatusBarWindowState, getStatusBarTransitions());
|
||||
}
|
||||
mNavigationBarController.checkNavBarModes(mDisplayId);
|
||||
|
||||
Reference in New Issue
Block a user