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

Commit 552a561b authored by Esteban Talavera's avatar Esteban Talavera
Browse files

Updated removeActiveAdmin documentation

Bug: 13176294
Change-Id: I0554c2c9a1f4aaa4283474ab7810678004985a2f
parent ae8f843a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1048,6 +1048,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.
     *
     * <p>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) {