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
This commit is contained in:
Rubin Xu
2017-03-16 18:02:57 +00:00
parent f451f7b05b
commit 9f592dbca3

View File

@@ -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 <code>false</code>.
* 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 <code>true</code>. The default value is <code>false</code>.
*
* <p>Key for user restrictions.
* <p>Type: Boolean