From a6b775842a22ffe3d0151bc5fbd1925868f9d664 Mon Sep 17 00:00:00 2001 From: Eran Messeri Date: Sat, 5 Oct 2019 21:00:15 +0100 Subject: [PATCH] Fix grammatical error in DPM The documentation for the setPermittedAccessibilityServices method attempted to explain that system accessibility services cannot be disabled but the sentence did not make sense. Bug: Test: m update-api && m javadoc Change-Id: I84d27a8c281551bbd8a82621234cd49e205956a7 --- core/java/android/app/admin/DevicePolicyManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 8ea1ff539c9fe..46d5296b279de 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -7203,7 +7203,8 @@ public class DevicePolicyManager { * used, calling with an empty list only allows the built-in system services. Any non-system * accessibility service that's currently enabled must be included in the list. *

- * System accessibility services are always available to the user the list can't modify this. + * System accessibility services are always available to the user and this method can't + * disable them. * @param admin Which {@link DeviceAdminReceiver} this request is associated with. * @param packageNames List of accessibility service package names. * @return {@code true} if the operation succeeded, or {@code false} if the list didn't