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

Commit 5813a8c5 authored by Kevin Hufnagle's avatar Kevin Hufnagle
Browse files

docs: Added perm req for getUserCount()

Test: make ds-docs -j32

Bug: 31091793

Change-Id: Ib1cae91795b0c054f2ae95af6376a8f01d839d9f
parent 667b9445
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();