Loading core/java/android/os/UserManager.java +2 −0 Original line number Diff line number Diff line Loading @@ -2337,6 +2337,8 @@ public class UserManager { /** * Return the number of users currently created on the device. * <p>This API is not for use by third-party apps. It requires the {@code MANAGE_USERS} * permission.</p> */ public int getUserCount() { List<UserInfo> users = getUsers(); Loading Loading
core/java/android/os/UserManager.java +2 −0 Original line number Diff line number Diff line Loading @@ -2337,6 +2337,8 @@ public class UserManager { /** * Return the number of users currently created on the device. * <p>This API is not for use by third-party apps. It requires the {@code MANAGE_USERS} * permission.</p> */ public int getUserCount() { List<UserInfo> users = getUsers(); Loading