diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 3f7b29109b3dc..507e97e3df05e 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -275,7 +275,6 @@ public class DevicePolicyManager { *
When device owner provisioning has completed, an intent of the type @@ -383,7 +382,6 @@ public class DevicePolicyManager { *
When device owner provisioning has completed, an intent of the type @@ -1149,11 +1146,11 @@ public class DevicePolicyManager { * A boolean extra indicating if the education screens from the provisioning flow should be * skipped. If unspecified, defaults to {@code false}. * + *
This extra can only be set by the admin app when performing the admin-integrated + * provisioning flow as a result of the {@link #ACTION_GET_PROVISIONING_MODE} activity. + * *
If the education screens are skipped, it is the admin application's responsibility * to display its own user education screens. - * - *
It can be used when provisioning a fully managed device via - * {@link #ACTION_PROVISION_MANAGED_DEVICE}. */ public static final String EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS = "android.app.extra.PROVISIONING_SKIP_EDUCATION_SCREENS"; @@ -2263,6 +2260,10 @@ public class DevicePolicyManager { *
If performing fully-managed device provisioning and the admin app desires to show its
+ * own education screens, the target activity can additionally return
+ * {@link #EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS} set to true.
+ *
*
The target activity may also return the account that needs to be migrated from primary * user to managed profile in case of a profile owner provisioning in * {@link #EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE} as result.