diff options
| author | 2020-05-21 22:44:53 +0000 | |
|---|---|---|
| committer | 2020-05-21 22:44:53 +0000 | |
| commit | 535e4abdd2ff2f2c5547de6f8b690e2b09623bb7 (patch) | |
| tree | f7cdd688266000f33eca254f1bac5f5bea7f3bf7 | |
| parent | f51818a0544a7e1e12972e278cac754594ae0dec (diff) | |
| parent | d521185f011acfd8193d007c97af5dceb6c8c025 (diff) | |
Merge "UserRestriction doc fix: primary -> admin" into rvc-dev
| -rw-r--r-- | core/java/android/os/UserManager.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java index 4832e564dbcf..ebf4cc5c938e 100644 --- a/core/java/android/os/UserManager.java +++ b/core/java/android/os/UserManager.java @@ -478,8 +478,8 @@ public class UserManager { public static final String DISALLOW_CONFIG_CREDENTIALS = "no_config_credentials"; /** - * When set on the primary user this specifies if the user can remove other users. - * When set on a secondary user, this specifies if the user can remove itself. + * When set on the admin user this specifies if the user can remove users. + * When set on a non-admin secondary user, this specifies if the user can remove itself. * This restriction has no effect on managed profiles. * The default value is <code>false</code>. * @@ -619,11 +619,11 @@ public class UserManager { public static final String DISALLOW_NETWORK_RESET = "no_network_reset"; /** - * Specifies if a user is disallowed from factory resetting - * from Settings. This can only be set by device owners and profile owners on the primary user. + * Specifies if a user is disallowed from factory resetting from Settings. + * This can only be set by device owners and profile owners on an admin user. * The default value is <code>false</code>. - * <p>This restriction has no effect on secondary users and managed profiles since only the - * primary user can factory reset the device. + * <p>This restriction has no effect on non-admin users since they cannot factory reset the + * device. * * <p>Key for user restrictions. * <p>Type: Boolean |