Merge "docs: Added perm req for getUserCount()" into qt-dev
am: c949db391d
Change-Id: Ib9f6f7561cc6dd365537cf169d45c2eb191f514a
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user