Provide clearer explanation for SUPPORTED_MODES_ORGANIZATION_OWNED

Bug: 179143866
Test: none
Change-Id: I47195f65e5a1039a984475d58fdfb9ad1651a107
This commit is contained in:
arangelov
2021-02-12 14:14:52 +00:00
committed by Antoan Angelov
parent 74a55700b8
commit c8f03de4e6

View File

@@ -1300,10 +1300,11 @@ public class DevicePolicyManager {
* A value for {@link #EXTRA_PROVISIONING_SUPPORTED_MODES} indicating that provisioning is
* organization-owned.
*
* <p>Using this value will cause the admin app's {@link #ACTION_GET_PROVISIONING_MODE}
* activity to have the {@link #EXTRA_PROVISIONING_ALLOWED_PROVISIONING_MODES} array extra
* contain {@link #PROVISIONING_MODE_MANAGED_PROFILE} and {@link
* #PROVISIONING_MODE_FULLY_MANAGED_DEVICE}.
* <p>Using this value indicates the admin app can only be provisioned in either a
* fully-managed device or a corporate-owned work profile. This will cause the admin app's
* {@link #ACTION_GET_PROVISIONING_MODE} activity to have the {@link
* #EXTRA_PROVISIONING_ALLOWED_PROVISIONING_MODES} array extra contain {@link
* #PROVISIONING_MODE_MANAGED_PROFILE} and {@link #PROVISIONING_MODE_FULLY_MANAGED_DEVICE}.
*
* <p>Also, if this value is set, the admin app's {@link #ACTION_GET_PROVISIONING_MODE} activity
* will not receive the {@link #EXTRA_PROVISIONING_IMEI} and {@link