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

Commit 5d01ae69 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:...

Merge "docs: Added perm req for getUserCount()" into qt-dev am: c949db39 am: f58949bd am: 6288754e
am: cfcd1633

Change-Id: I6c3f4298b999da99f7c25e323dd729b85e6d1acc
parents 8c6640f3 cfcd1633
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -2486,6 +2486,8 @@ public class UserManager {


    /**
    /**
     * Return the number of users currently created on the device.
     * 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() {
    public int getUserCount() {
        List<UserInfo> users = getUsers();
        List<UserInfo> users = getUsers();