From bb2a802a23fd8a67763108f3febeb7d469951c52 Mon Sep 17 00:00:00 2001 From: arangelov Date: Thu, 20 Jun 2019 14:47:06 +0100 Subject: Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS. Bug: Fixes: 134391678 Test: manual Change-Id: I993af4f4a741283294b1754dfc0adc7c6f6f849e --- core/java/android/app/admin/DevicePolicyManager.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index d082f33cdefe..82ba6362ffab 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -278,6 +278,7 @@ public class DevicePolicyManager { *
  • {@link #EXTRA_PROVISIONING_LOGO_URI}, optional
  • *
  • {@link #EXTRA_PROVISIONING_MAIN_COLOR}, optional
  • *
  • {@link #EXTRA_PROVISIONING_DISCLAIMERS}, optional
  • + *
  • {@link #EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS}, optional
  • * * *

    When device owner provisioning has completed, an intent of the type @@ -385,6 +386,8 @@ public class DevicePolicyManager { *

  • {@link #EXTRA_PROVISIONING_ORGANIZATION_NAME}, optional
  • *
  • {@link #EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE}, optional
  • *
  • {@link #EXTRA_PROVISIONING_USE_MOBILE_DATA}, optional
  • + *
  • {@link #EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS}, optional - when not used for + * cloud enrollment, NFC or QR provisioning
  • * * * @hide @@ -1149,8 +1152,12 @@ 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. + *

    This extra can be set in the following ways: + *

    * *

    If the education screens are skipped, it is the admin application's responsibility * to display its own user education screens. -- cgit v1.2.3-59-g8ed1b