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

Commit cfcd1633 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

am: 6288754e

Change-Id: I3e3c4fc71fe34f2118bd2794a8ab6b707a3d81cd
parents 950a97c2 6288754e
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();