From 9f592dbca32c698cabcf38a5e07cbb118fbf44dd Mon Sep 17 00:00:00 2001 From: Rubin Xu Date: Thu, 16 Mar 2017 18:02:57 +0000 Subject: Update ENSURE_VERIFY_APPS javadoc Make it clear that now this restriction applies across the whole device, and is settable by profile owner. Bug: 31000521 Test: None; just javadoc update Change-Id: If82d8f4167cf1b77d6e10554f1d96b2d3a2a54a0 --- core/java/android/os/UserManager.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java index 42575b69409b..a6bf2d26abb3 100644 --- a/core/java/android/os/UserManager.java +++ b/core/java/android/os/UserManager.java @@ -369,8 +369,10 @@ public class UserManager { public static final String DISALLOW_ADD_MANAGED_PROFILE = "no_add_managed_profile"; /** - * Specifies if a user is disallowed from disabling application - * verification. The default value is false. + * Specifies if a user is disallowed from disabling application verification. + * Starting from {@link android.os.Build.VERSION_CODES#O}, application verification + * is enforced across all users on the device if a profile owner or device owner sets + * this restriction to true. The default value is false. * *

Key for user restrictions. *

Type: Boolean -- cgit v1.2.3-59-g8ed1b