Update documentation of DevicePolicyManager.isProvisioningAllowed.
Do not mention the possibility of races for consistency with other methods. BUG:27532561 Change-Id: If81e8478742458456d1f2a23c61dded3e3a4f876
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user