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

Commit 36f77bc3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE for devices without StatusBar implementation."

parents 9a753af2 72f8b524
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ class GlobalActions implements GlobalActionsListener {

    public void showDialog(boolean keyguardShowing, boolean deviceProvisioned) {
        if (DEBUG) Slog.d(TAG, "showDialog " + keyguardShowing + " " + deviceProvisioned);
        if (mStatusBarInternal.isGlobalActionsDisabled()) {
        if (mStatusBarInternal != null && mStatusBarInternal.isGlobalActionsDisabled()) {
            return;
        }
        mKeyguardShowing = keyguardShowing;