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

Commit 6288754e 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

am: f58949bd

Change-Id: Ifbced59e15c2ad19ad94b93af05d28ccfbccd255
parents a5c4b9e3 f58949bd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2370,6 +2370,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();