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

Commit f8fd6156 authored by Adam Bookatz's avatar Adam Bookatz Committed by Android (Google) Code Review
Browse files

Merge "Opening Multiuser doesn't toggle it on" into rvc-dev

parents 4d447026 e7465b0f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -52,8 +52,6 @@ public class MultiUserSwitchBarController implements SwitchWidgetController.OnSw
        mListener = listener;
        mUserCapabilities = UserCapabilities.create(context);
        mSwitchBar.setChecked(mUserCapabilities.mUserSwitcherEnabled);
        Settings.Global.putInt(mContext.getContentResolver(),
                Settings.Global.USER_SWITCHER_ENABLED, mSwitchBar.isChecked() ? 1 : 0);

        if (mUserCapabilities.mDisallowSwitchUser) {
            mSwitchBar.setDisabledByAdmin(RestrictedLockUtilsInternal