diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 5600da6def4a5..0c249fa352ddc 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -514,14 +514,15 @@ public class DevicePolicyManager { = "android.app.extra.PROVISIONING_ACCOUNT_TO_MIGRATE"; /** - * Boolean extra that is used in conjunction with - * {@link #EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE}. If it's set to {@code true}, the account will - * not be removed from the primary user after it is migrated to the newly created user or - * profile. + * Boolean extra to indicate that the migrated account should be kept. This is used in + * conjunction with {@link #EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE}. If it's set to {@code true}, + * the account will not be removed from the primary user after it is migrated to the newly + * created user or profile. * *

Defaults to {@code false} * - *

Use with {@link #ACTION_PROVISION_MANAGED_PROFILE}. + *

Use with {@link #ACTION_PROVISION_MANAGED_PROFILE} and + * {@link #EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE} */ public static final String EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION = "android.app.extra.PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION";