From d38bf5adac36e478aeadb5ffaaec51eb5c633057 Mon Sep 17 00:00:00 2001 From: Elis Elliott Date: Mon, 20 Jun 2022 09:38:08 +0000 Subject: [PATCH] Update the docs for the provisioning extra AllowOffline. update to reflect the new usage of the extra in forcing platform side provisioning. Bug: 236597525 Test: n/a Change-Id: Ie98e9aaa790d1c0bd4b2d5e2b85a81bd8e3c92e3 --- core/java/android/app/admin/DevicePolicyManager.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 0e1a5461840eb..34c91c360dbeb 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -770,6 +770,10 @@ public class DevicePolicyManager { *

If this extra is set to {@code true}, the provisioning flow will still try to connect to * the internet, but if it fails it will start the offline provisioning flow. * + *

For T if this extra is set to {@code true}, the provisioning flow will be forced through + * the platform and there will be no attempt to download and install the device policy + * management role holder. + * *

The default value is {@code false}. * *

This extra is respected when provided via the provisioning intent actions such as {@link