Merge "Fix NPE for devices without StatusBar implementation."
This commit is contained in:
committed by
Android (Google) Code Review
commit
36f77bc3ff
@@ -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