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

Commit a6b77584 authored by Eran Messeri's avatar Eran Messeri
Browse files

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
parent f6fb7063
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -7203,7 +7203,8 @@ public class DevicePolicyManager {
     * used, calling with an empty list only allows the built-in system services. Any non-system
     * 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.
     * accessibility service that's currently enabled must be included in the list.
     * <p>
     * <p>
     * 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 admin Which {@link DeviceAdminReceiver} this request is associated with.
     * @param packageNames List of accessibility service package names.
     * @param packageNames List of accessibility service package names.
     * @return {@code true} if the operation succeeded, or {@code false} if the list didn't
     * @return {@code true} if the operation succeeded, or {@code false} if the list didn't