Fix NPE for devices without StatusBar implementation.
Bug: 68949061 Change-Id: I025ea812b7fed79c4c22b1c68b4fe3ea17300be1
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user