summaryrefslogtreecommitdiff
path: root/core/java/android/os/UserManager.java
diff options
context:
space:
mode:
authorBenjamin Franz <bfranz@google.com>2018-02-28 09:49:17 +0000
committerBenjamin Franz <bfranz@google.com>2018-02-28 14:48:52 +0000
commit0c86fe1b166410be8429ea5d7ddeebb510777aae (patch)
tree206dc5760517950f6d7162932c1d96322ecde87c /core/java/android/os/UserManager.java
parent0ec75beab7fd5ffb86cd8193eb77db9930b220e8 (diff)
Update javadoc for DISALLOW_SYSTEM_ERROR_DIALOGS
Bug: 73720585 Test: make docs Change-Id: I5fca4a9cb254f91f7eac2abb002242b5553059fa
Diffstat (limited to 'core/java/android/os/UserManager.java')
-rw-r--r--core/java/android/os/UserManager.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java
index 185620066454..9e91a238e5d5 100644
--- a/core/java/android/os/UserManager.java
+++ b/core/java/android/os/UserManager.java
@@ -691,14 +691,13 @@ public class UserManager {
/**
* Specifies that system error dialogs for crashed or unresponsive apps should not be shown.
* In this case, the system will force-stop the app as if the user chooses the "close app"
- * option on the UI. No feedback report will be collected as there is no way for the user to
- * provide explicit consent.
+ * option on the UI. A feedback report isn't collected as there is no way for the user to
+ * provide explicit consent. The default value is <code>false</code>.
*
- * When this user restriction is set by device owners, it's applied to all users; when it's set
- * by profile owners, it's only applied to the relevant profiles.
- * The default value is <code>false</code>.
+ * <p>When this user restriction is set by device owners, it's applied to all users. When set by
+ * the profile owner of the primary user or a secondary user, the restriction affects only the
+ * calling user. This user restriction has no effect on managed profiles.
*
- * <p>This user restriction has no effect on managed profiles.
* <p>Key for user restrictions.
* <p>Type: Boolean
* @see DevicePolicyManager#addUserRestriction(ComponentName, String)