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

Commit 3c008f26 authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev

parents 414561cf e4e8c561
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -274,10 +274,13 @@ public class PhoneStatusBar extends BaseStatusBar {
                    Settings.Secure.USER_SETUP_COMPLETE,
                    0 /*default */,
                    mCurrentUserId);
            if (MULTIUSER_DEBUG) Slog.d(TAG, String.format("User setup changed: " +
                    "selfChange=%s userSetup=%s mUserSetup=%s",
                    selfChange, userSetup, mUserSetup));
            if (mSettingsPanel != null)
                mSettingsPanel.setEnabled(userSetup);
            if (userSetup != mUserSetup) {
                mUserSetup = userSetup;
                if (mSettingsPanel != null)
                    mSettingsPanel.setEnabled(mUserSetup);
                if (!mUserSetup && mStatusBarView != null)
                    animateCollapseQuickSettings();
            }