From 112e053b9a07972d5ceddc3ad19c7252f3963071 Mon Sep 17 00:00:00 2001 From: Sander Alewijnse Date: Wed, 29 Oct 2014 13:28:49 +0000 Subject: [PATCH] Change javadoc of setAccountManagementDisabled. Method can also be called by device owner. Bug:18166033 Change-Id: I38ab17bdfe9f0c4b33f5257d2f335afe16e84031 --- core/java/android/app/admin/DevicePolicyManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index a30ae573066d8..74502fce9a525 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -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. * - *

The calling device admin must be a profile owner. If it is not, a + *

The calling device admin must be a device owner or profile owner. If it is not, a * security exception will be thrown. * *

When account management is disabled for an account type, adding or removing an account