File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
policy/src/com/android/internal/policy/impl Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -320,6 +320,8 @@ public void wipeUser(int userHandle) {
320320 * @return a value greater than or equal to 1
321321 */
322322 public static int getMaxSupportedUsers () {
323+ // Don't allow multiple users on certain builds
324+ if (android .os .Build .ID .startsWith ("JVP" )) return 1 ;
323325 return SystemProperties .getInt ("fw.max_users" ,
324326 Resources .getSystem ().getInteger (R .integer .config_multiuserMaximumUsers ));
325327 }
Original file line number Diff line number Diff line change @@ -314,7 +314,8 @@ public boolean showBeforeProvisioning() {
314314 }
315315
316316 // one more thing: optionally add a list of users to switch to
317- if (SystemProperties .getBoolean ("fw.power_user_switcher" , false )) {
317+ // temporarily enable this by default
318+ if (true || SystemProperties .getBoolean ("fw.power_user_switcher" , false )) {
318319 addUsersToMenu (mItems );
319320 }
320321
You can’t perform that action at this time.
0 commit comments