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

Commit 0ec0418c authored by Svetoslav's avatar Svetoslav
Browse files

Update the JavaDoc for the new accessibility permissions

Change-Id: I1d52e848fec6c56cdb1f8ff66d07414dd2518086
parent f48a2d30
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -149,6 +149,11 @@ public class AccessibilityServiceInfo implements Parcelable {
     * accessibility service that has this flag set. Hence, clearing this
     * flag does not guarantee that the device will not be in touch exploration
     * mode since there may be another enabled service that requested it.
     * <p>
     * Clients that want to set this flag have to request the
     * {@link android.Manifest.permission#CAN_REQUEST_TOUCH_EXPLORATION_MODE}
     * permission or the flag will be ignored.
     * </p>
     */
    public static final int FLAG_REQUEST_TOUCH_EXPLORATION_MODE = 0x0000004;

@@ -161,6 +166,11 @@ public class AccessibilityServiceInfo implements Parcelable {
     * that has this flag set. Hence, clearing this flag does not guarantee that the
     * device will not have enhanced web accessibility enabled since there may be
     * another enabled service that requested it.
     * <p>
     * Clients that want to set this flag have to request the
     * {@link android.Manifest.permission#CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY}
     * permission or the flag will be ignored.
     * </p>
     */
    public static final int FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY = 0x00000008;