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.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java
index 4b0cb09f5d9f..9b0ef8e1fde4 100644
--- a/core/java/android/os/UserManager.java
+++ b/core/java/android/os/UserManager.java
@@ -2045,7 +2045,7 @@ public class UserManager {
}
/**
- * Returns a {@code Bundle} containing any saved application restrictions for this user, for the
+ * Returns a {@link Bundle} containing any saved application restrictions for this user, for the
* given package name. Only an application with this package name can call this method.
*
* <p>The returned {@link Bundle} consists of key-value pairs, as defined by the application,
@@ -2058,8 +2058,8 @@ public class UserManager {
* </ul>
*
* @param packageName the package name of the calling application
- * @return a {@code Bundle} with the restrictions for that package, or {@code null} if there
- * are no saved restrictions.
+ * @return a {@link Bundle} with the restrictions for that package, or an empty {@link Bundle}
+ * if there are no saved restrictions.
*
* @see #KEY_RESTRICTIONS_PENDING
*/