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

Commit 72f8b524 authored by Calvin On's avatar Calvin On
Browse files

Fix NPE for devices without StatusBar implementation.

Bug: 68949061
Change-Id: I025ea812b7fed79c4c22b1c68b4fe3ea17300be1
parent 917bdb1b
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;