From: Benjamin Miller Date: Mon, 17 Jul 2017 15:24:44 +0000 (+0200) Subject: Docs-change: how UserManager.ENSURE_VERIFY_APPS affects profiles. X-Git-Tag: android-x86-9.0-r1~813^2~5^2^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d41a9fc60b53d8ac7ffec15e6b9ad87bd3a18272;p=android-x86%2Fframeworks-base.git Docs-change: how UserManager.ENSURE_VERIFY_APPS affects profiles. Noted affected users for versions prior to Android O. Staged at: go/dac-stage/reference/android/os/UserManager.html#ENSURE_VERIFY_APPS Test: make ds-docs and output staged Bug: 38024373 Change-Id: Ida80c2134bdd4013c7adabee778e8296039747a2 --- diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java index a7fc2e70171f..79a67fe11554 100644 --- a/core/java/android/os/UserManager.java +++ b/core/java/android/os/UserManager.java @@ -389,10 +389,13 @@ 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. - * 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. + * Specifies if a user is disallowed from disabling application verification. The default + * value is false. + * + *

In Android 8.0 ({@linkplain android.os.Build.VERSION_CODES#O API level 26}) and higher, + * this is a global user restriction. If a device owner or profile owner sets this restriction, + * the system enforces app verification across all users on the device. Running in earlier + * Android versions, this restriction affects only the profile that sets it. * *

Key for user restrictions. *

Type: Boolean