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

Commit bf0224ca authored by Anna Bauza's avatar Anna Bauza Committed by Android (Google) Code Review
Browse files

Merge "Extend MultiUserInfo with information does the device allow adding secondary users."

parents a84a513c 7f6652b9
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -5244,7 +5244,10 @@ public class UserManagerService extends IUserManager.Stub {

                data.add(FrameworkStatsLog.buildStatsEvent(FrameworkStatsLog.MULTI_USER_INFO,
                        UserManager.getMaxSupportedUsers(),
                        isUserSwitcherEnabled(deviceOwnerUserId)));
                        isUserSwitcherEnabled(deviceOwnerUserId),
                        UserManager.supportsMultipleUsers()
                                && !hasUserRestriction(UserManager.DISALLOW_ADD_USER,
                                deviceOwnerUserId)));
            }
        } else {
            Slogf.e(LOG_TAG, "Unexpected atom tag: %d", atomTag);