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

Commit 112e053b authored by Sander Alewijnse's avatar Sander Alewijnse
Browse files

Change javadoc of setAccountManagementDisabled.

Method can also be called by device owner.

Bug:18166033
Change-Id: I38ab17bdfe9f0c4b33f5257d2f335afe16e84031
parent 4bc3c8bd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3133,9 +3133,10 @@ public class DevicePolicyManager {
    }

    /**
     * Called by a profile owner to disable account management for a specific type of account.
     * Called by a device owner or profile owner to disable account management for a specific type
     * of account.
     *
     * <p>The calling device admin must be a profile owner. If it is not, a
     * <p>The calling device admin must be a device owner or profile owner. If it is not, a
     * security exception will be thrown.
     *
     * <p>When account management is disabled for an account type, adding or removing an account