From 797fca5fd9478b89547bb36ec1b8260035de264b Mon Sep 17 00:00:00 2001 From: Nicolas Prevot Date: Tue, 15 Mar 2016 17:42:28 +0000 Subject: [PATCH] Update documentation of DevicePolicyManager.isProvisioningAllowed. Do not mention the possibility of races for consistency with other methods. BUG:27532561 Change-Id: If81e8478742458456d1f2a23c61dded3e3a4f876 --- core/java/android/app/admin/DevicePolicyManager.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index af9705f91f9eb..7a6272ff1537d 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -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. */