From bcfeecc59ad1862730e94d5cd59f1fd3e27f0aef Mon Sep 17 00:00:00 2001 From: arangelov Date: Thu, 10 Mar 2022 18:29:49 +0000 Subject: [PATCH] Update javadoc for EXTRA_PROVISIONING_ROLE_HOLDER_CUSTOM_USER_CONSENT_INTENT Fixes: 223839434 Test: none Change-Id: I307f4670b0d908cb1a2f8a0837c7aac8aca702e9 --- core/java/android/app/admin/DevicePolicyManager.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 13aae5cabefab..10e976f79b398 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -3365,6 +3365,16 @@ public class DevicePolicyManager { *
  • General disclaimer relevant to the provisioning mode
  • * * + *

    When this {@link Intent} is started, the following intent extras will be supplied: + *

    + * *

    If the custom consent screens are granted by the user {@link Activity#RESULT_OK} is * returned, otherwise {@link Activity#RESULT_CANCELED} is returned. The device policy * management role holder should ensure that the provisioning flow terminates immediately if