Add EXTRA_PROVISIONING_SKIP_USER_CONSENT
Bug: 32299699 Test: built successfully Change-Id: I9516831a75973c2e940da8283b2c42ac6f050c6f
This commit is contained in:
@@ -6167,6 +6167,7 @@ package android.app.admin {
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_LOGO_URI = "android.app.extra.PROVISIONING_LOGO_URI";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_MAIN_COLOR = "android.app.extra.PROVISIONING_MAIN_COLOR";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_SKIP_ENCRYPTION = "android.app.extra.PROVISIONING_SKIP_ENCRYPTION";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_SKIP_USER_CONSENT = "android.app.extra.PROVISIONING_SKIP_USER_CONSENT";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_TIME_ZONE = "android.app.extra.PROVISIONING_TIME_ZONE";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_WIFI_HIDDEN = "android.app.extra.PROVISIONING_WIFI_HIDDEN";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_WIFI_PAC_URL = "android.app.extra.PROVISIONING_WIFI_PAC_URL";
|
||||
|
||||
@@ -6354,6 +6354,7 @@ package android.app.admin {
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_LOGO_URI = "android.app.extra.PROVISIONING_LOGO_URI";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_MAIN_COLOR = "android.app.extra.PROVISIONING_MAIN_COLOR";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_SKIP_ENCRYPTION = "android.app.extra.PROVISIONING_SKIP_ENCRYPTION";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_SKIP_USER_CONSENT = "android.app.extra.PROVISIONING_SKIP_USER_CONSENT";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_TIME_ZONE = "android.app.extra.PROVISIONING_TIME_ZONE";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_WIFI_HIDDEN = "android.app.extra.PROVISIONING_WIFI_HIDDEN";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_WIFI_PAC_URL = "android.app.extra.PROVISIONING_WIFI_PAC_URL";
|
||||
|
||||
@@ -6186,6 +6186,7 @@ package android.app.admin {
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_LOGO_URI = "android.app.extra.PROVISIONING_LOGO_URI";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_MAIN_COLOR = "android.app.extra.PROVISIONING_MAIN_COLOR";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_SKIP_ENCRYPTION = "android.app.extra.PROVISIONING_SKIP_ENCRYPTION";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_SKIP_USER_CONSENT = "android.app.extra.PROVISIONING_SKIP_USER_CONSENT";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_TIME_ZONE = "android.app.extra.PROVISIONING_TIME_ZONE";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_WIFI_HIDDEN = "android.app.extra.PROVISIONING_WIFI_HIDDEN";
|
||||
field public static final java.lang.String EXTRA_PROVISIONING_WIFI_PAC_URL = "android.app.extra.PROVISIONING_WIFI_PAC_URL";
|
||||
|
||||
@@ -151,6 +151,7 @@ public class DevicePolicyManager {
|
||||
* <li>{@link #EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE}, optional</li>
|
||||
* <li>{@link #EXTRA_PROVISIONING_LOGO_URI}, optional</li>
|
||||
* <li>{@link #EXTRA_PROVISIONING_MAIN_COLOR}, optional</li>
|
||||
* <li>{@link #EXTRA_PROVISIONING_SKIP_USER_CONSENT}, optional</li>
|
||||
* </ul>
|
||||
*
|
||||
* <p>When managed provisioning has completed, broadcasts are sent to the application specified
|
||||
@@ -812,6 +813,16 @@ public class DevicePolicyManager {
|
||||
public static final String EXTRA_PROVISIONING_SKIP_USER_SETUP =
|
||||
"android.app.extra.PROVISIONING_SKIP_USER_SETUP";
|
||||
|
||||
/**
|
||||
* A boolean extra indicating if the user consent steps from the provisioning flow should be
|
||||
* skipped. If unspecified, defaults to {@code false}.
|
||||
*
|
||||
* It can only be used by an existing device owner trying to create a managed profile via
|
||||
* {@link #ACTION_PROVISION_MANAGED_PROFILE}. Otherwise it is ignored.
|
||||
*/
|
||||
public static final String EXTRA_PROVISIONING_SKIP_USER_CONSENT =
|
||||
"android.app.extra.PROVISIONING_SKIP_USER_CONSENT";
|
||||
|
||||
/**
|
||||
* This MIME type is used for starting the device owner provisioning.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user