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

Commit 8078996f authored by Jason Monk's avatar Jason Monk Committed by Gerrit Code Review
Browse files

Merge "Fix random systemui crashes during boot"

parents 83c367aa 81e684b7
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -3842,8 +3842,10 @@ public class StatusBar extends SystemUI implements DemoMode,
    }

    public void onKeyguardOccludedChanged(boolean keyguardOccluded) {
        if (mNavigationBar != null) {
            mNavigationBar.onKeyguardOccludedChanged(keyguardOccluded);
        }
    }

    // State logging

@@ -4633,7 +4635,8 @@ public class StatusBar extends SystemUI implements DemoMode,

    // TODO: Figure out way to remove this.
    public NavigationBarView getNavigationBarView() {
        return (NavigationBarView) mNavigationBar.getView();
        return (mNavigationBar != null) ?
               (NavigationBarView) mNavigationBar.getView() : null;
    }

    // ---------------------- DragDownHelper.OnDragDownListener ------------------------------------