Creates user_switcher_enabled setting to match setting

When the user enters UserSettings, the switch displays the setting as
on, but the setting is not created until the user modifies this for the
first time. This change makes sure that the setting is created when the
user enters UserSettings for the first time.

Fixes: 130270878
Test: manual, switch to second user and observe switcher icons.
Change-Id: I30bc5025c178da3668a76c828c34545c1d98b085
(cherry picked from commit a52961d80352fd20edcbb5308c13a7167096c4ac)
diff --git a/src/com/android/settings/users/ b/src/com/android/settings/users/
index 58de149..a5fdf9b 100644
--- a/src/com/android/settings/users/
+++ b/src/com/android/settings/users/
@@ -52,6 +52,8 @@
         mListener = listener;
         mUserCapabilities = UserCapabilities.create(context);
+        Settings.Global.putInt(mContext.getContentResolver(),
+                Settings.Global.USER_SWITCHER_ENABLED, mSwitchBar.isChecked() ? 1 : 0);
         if (mUserCapabilities.mDisallowSwitchUser) {