Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63c6c591 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Add null check for status bar transitions

Test: atest SystemUITests
Bug: 150570478
Change-Id: I4c93a08ddcbe35a95b77012e2345bfa25167be1b
parent 7e863266
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);