Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9051bbf2 authored by Benjamin Miller's avatar Benjamin Miller Committed by android-build-merger
Browse files

Merge "Docs-change: how UserManager.ENSURE_VERIFY_APPS affects profiles." into oc-dev

am: baa85250

Change-Id: I9406e059aab1991209a234b6c4aa8767c25cda95
parents 345db826 baa85250
Loading
Loading
Loading
Loading
+7 −4
Original line number Original line Diff line number Diff line
@@ -389,10 +389,13 @@ public class UserManager {
    public static final String DISALLOW_ADD_MANAGED_PROFILE = "no_add_managed_profile";
    public static final String DISALLOW_ADD_MANAGED_PROFILE = "no_add_managed_profile";


    /**
    /**
     * Specifies if a user is disallowed from disabling application verification.
     * Specifies if a user is disallowed from disabling application verification. The default
     * Starting from {@link android.os.Build.VERSION_CODES#O}, application verification
     * value is <code>false</code>.
     * 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>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.
     *
     *
     * <p>Key for user restrictions.
     * <p>Key for user restrictions.
     * <p>Type: Boolean
     * <p>Type: Boolean