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

am: 6288754ef9

Change-Id: I3e3c4fc71fe34f2118bd2794a8ab6b707a3d81cd
This commit is contained in:
Kevin Hufnagle
2019-11-06 15:11:13 -08:00
committed by android-build-merger

View File

@@ -2370,6 +2370,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();