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

Commit 4eb2d563 authored by Nupur Saxena's avatar Nupur Saxena
Browse files

Update removeManagedProfile description

Flag: EXEMPT refactor
Bug: b/378674221
Change-Id: I0230f64fb86f746505e027bb907664b97d75595f
parent a7f7e3df
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -17285,12 +17285,17 @@ public class DevicePolicyManager {
    }
    /**
     * Removes a manged profile from the device only when called from a managed profile's context
     * Removes a managed profile from the device.
     *
     * <p>
     * Removes the managed profile which is specified by the context user
     * ({@code Context.createContextAsUser()}).
     * <p>
     *
     * @param user UserHandle of the profile to be removed
     * @return {@code true} when removal of managed profile was successful, {@code false} when
     * removal was unsuccessful or throws IllegalArgumentException when provided user was not a
     * removal was unsuccessful or throws IllegalArgumentException when specified user was not a
     * managed profile
     *
     * @hide
     */
    @SystemApi