/** * Returns whether the system supports multiple users. * @return true if multiple users can be created, false if it is a single user device. * @hide */ public static boolean supportsMultipleUsers() { return getMaxSupportedUsers() > 1; }
/** * Check if we've hit the limit of how many users can be created. */ private boolean isUserLimitReachedLocked() { int nUsers = mUsers.size(); return nUsers >= VUserManager.getMaxSupportedUsers(); }
/** * Returns whether the system supports multiple users. * @return true if multiple users can be created, false if it is a single user device. * @hide */ public static boolean supportsMultipleUsers() { return getMaxSupportedUsers() > 1; }
/** * Returns whether the system supports multiple users. * @return true if multiple users can be created, false if it is a single user device. * @hide */ public static boolean supportsMultipleUsers() { return getMaxSupportedUsers() > 1; }
/** * Check if we've hit the limit of how many users can be created. */ private boolean isUserLimitReachedLocked() { int nUsers = mUsers.size(); return nUsers >= VUserManager.getMaxSupportedUsers(); }
/** * Check if we've hit the limit of how many users can be created. */ private boolean isUserLimitReachedLocked() { int nUsers = mUsers.size(); return nUsers >= VUserManager.getMaxSupportedUsers(); }