diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index ae63a2f0704d2..820e0e8fe7fbb 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -1059,6 +1059,9 @@ public class DevicePolicyManager { * by the application that owns the administration component; if you * try to remove someone else's component, a security exception will be * thrown. + * + *
Note that the operation is not synchronous and the admin might still be active (as + * indicated by {@link #getActiveAdmins()}) by the time this method returns. */ public void removeActiveAdmin(@NonNull ComponentName admin) { if (mService != null) {