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

am: f58949bd0e

Change-Id: Ifbced59e15c2ad19ad94b93af05d28ccfbccd255
This commit is contained in:
Kevin Hufnagle
2019-11-06 15:04: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();