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