Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 797fca5f authored by Nicolas Prevot's avatar Nicolas Prevot
Browse files

Update documentation of DevicePolicyManager.isProvisioningAllowed.

Do not mention the possibility of races for consistency with
other methods.

BUG:27532561
Change-Id: If81e8478742458456d1f2a23c61dded3e3a4f876
parent cb1b27b6
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -5495,9 +5495,6 @@ public class DevicePolicyManager {
     * Returns if provisioning a managed profile or device is possible or not.
     * @param action One of {@link #ACTION_PROVISION_MANAGED_DEVICE},
     * {@link #ACTION_PROVISION_MANAGED_PROFILE}.
     * Note that even if this method returns true, there is a slight possibility that the
     * provisioning will not be allowed when it is actually initiated because some event has
     * happened in between.
     * @return if provisioning a managed profile or device is possible or not.
     * @throws IllegalArgumentException if the supplied action is not valid.
     */