diff options
| author | Felipe Leme <felipeal@google.com> | 2018-11-05 21:48:54 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-11-05 21:48:54 +0000 |
| commit | 05083b019ffb1131fce9e7d52dceef21ebbb2ede (patch) | |
| tree | f45111749799ac6c1fbb071786304efd6846ced3 /core/java/android/os/UserManager.java | |
| parent | f4e3113aaf2485ab59ecf302ca0b506744c8654d (diff) | |
| parent | 1dfa9a01957bd32f8cc5a40786a3c5fea15394ce (diff) | |
Merge "Initial APIs for Intelligence Service."
Diffstat (limited to 'core/java/android/os/UserManager.java')
| -rw-r--r-- | core/java/android/os/UserManager.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java index 1a84197974b4..92b316914d82 100644 --- a/core/java/android/os/UserManager.java +++ b/core/java/android/os/UserManager.java @@ -936,6 +936,21 @@ public class UserManager { public static final String DISALLOW_AUTOFILL = "no_autofill"; /** + * Specifies if the contents of a user's screen is not allowed to be captured for artificial + * intelligence purposes. + * + * <p>Device owner and profile owner can set this restriction. When it is set by device owner, + * only the target user will be affected. + * + * <p>The default value is <code>false</code>. + * + * @see DevicePolicyManager#addUserRestriction(ComponentName, String) + * @see DevicePolicyManager#clearUserRestriction(ComponentName, String) + * @see #getUserRestrictions() + */ + public static final String DISALLOW_INTELLIGENCE_CAPTURE = "no_intelligence_capture"; + + /** * Specifies if user switching is blocked on the current user. * * <p> This restriction can only be set by the device owner, it will be applied to all users. |
