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

Commit c949db39 authored by Kevin Hufnagle's avatar Kevin Hufnagle Committed by Android (Google) Code Review
Browse files

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

parents 2dc61fc4 5813a8c5
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();