summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/os/UserManager.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java
index 3f666c156117..622308fbaf75 100644
--- a/core/java/android/os/UserManager.java
+++ b/core/java/android/os/UserManager.java
@@ -224,7 +224,7 @@ public class UserManager {
/**
* Sets all the user-wide restrictions for this user.
- * Requires the {@link android.Manifest.permission#MANAGE_USERS} permission.
+ * Requires the MANAGE_USERS permission.
* @param restrictions the Bundle containing all the restrictions.
*/
public void setUserRestrictions(Bundle restrictions) {
@@ -233,7 +233,7 @@ public class UserManager {
/**
* Sets all the user-wide restrictions for the specified user.
- * Requires the {@link android.Manifest.permission#MANAGE_USERS} permission.
+ * Requires the MANAGE_USERS permission.
* @param restrictions the Bundle containing all the restrictions.
* @param userHandle the UserHandle of the user for whom to set the restrictions.
*/
@@ -247,10 +247,9 @@ public class UserManager {
/**
* Sets the value of a specific restriction.
- * Requires the {@link android.Manifest.permission#MANAGE_USERS} permission.
+ * Requires the MANAGE_USERS permission.
* @param key the key of the restriction
* @param value the value for the restriction
- * @param userHandle the user whose restriction is to be changed.
*/
public void setUserRestriction(String key, boolean value) {
Bundle bundle = getUserRestrictions();