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

This commit is contained in:
Kevin Hufnagle
2019-11-06 22:44:46 +00:00
committed by Android (Google) Code Review

View File

@@ -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();