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

Commit f58949bd authored by Kevin Hufnagle's avatar Kevin Hufnagle Committed by android-build-merger
Browse files

Merge "docs: Added perm req for getUserCount()" into qt-dev

am: c949db39

Change-Id: Ib9f6f7561cc6dd365537cf169d45c2eb191f514a
parents 101f294b c949db39
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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();