Change javadoc of setAccountManagementDisabled.

Method can also be called by device owner.

Bug:18166033
Change-Id: I38ab17bdfe9f0c4b33f5257d2f335afe16e84031
This commit is contained in:
Sander Alewijnse
2014-10-29 13:28:49 +00:00
parent 4bc3c8bd64
commit 112e053b9a

View File

@@ -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