Merge "docs: Added perm req for getUserCount()" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c949db391d
@@ -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