summaryrefslogtreecommitdiff
path: root/core/java/android/os/UserManager.java
diff options
context:
space:
mode:
authorBenjamin Franz <bfranz@google.com>2018-03-01 09:30:12 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-03-01 09:30:12 +0000
commit8b16046a53ad0699af77f11eefc3d608994f4ad7 (patch)
treedb7378ab9859017d2f29d9cfd7d9caf871efe44e /core/java/android/os/UserManager.java
parente573fb16af4817dd3dfb2f768e2202598f92550b (diff)
parent0c86fe1b166410be8429ea5d7ddeebb510777aae (diff)
Merge "Update javadoc for DISALLOW_SYSTEM_ERROR_DIALOGS"
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 2693bab5203e..171317230923 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)