Skip to content

Commit 3c008f2

Browse files
John SpurlockAndroid (Google) Code Review
authored andcommitted
Merge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev
2 parents 414561c + e4e8c56 commit 3c008f2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,13 @@ public void onChange(boolean selfChange) {
274274
Settings.Secure.USER_SETUP_COMPLETE,
275275
0 /*default */,
276276
mCurrentUserId);
277+
if (MULTIUSER_DEBUG) Slog.d(TAG, String.format("User setup changed: " +
278+
"selfChange=%s userSetup=%s mUserSetup=%s",
279+
selfChange, userSetup, mUserSetup));
280+
if (mSettingsPanel != null)
281+
mSettingsPanel.setEnabled(userSetup);
277282
if (userSetup != mUserSetup) {
278283
mUserSetup = userSetup;
279-
if (mSettingsPanel != null)
280-
mSettingsPanel.setEnabled(mUserSetup);
281284
if (!mUserSetup && mStatusBarView != null)
282285
animateCollapseQuickSettings();
283286
}

0 commit comments

Comments
 (0)