summaryrefslogtreecommitdiffstats
path: root/core/java/android/accessibilityservice/AccessibilityServiceInfo.java
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-01-31 16:54:40 -0800
committerSvetoslav <svetoslavganov@google.com>2013-01-31 16:54:40 -0800
commit0ec0418c6eac5076774a74855725d9df53141907 (patch)
treecdc028be2b0ce578141384b6fe5c3b1b457ce078 /core/java/android/accessibilityservice/AccessibilityServiceInfo.java
parentf48a2d30c5d5f7c167310ff9ca1cd2310121be7c (diff)
downloadframeworks_base-0ec0418c6eac5076774a74855725d9df53141907.zip
frameworks_base-0ec0418c6eac5076774a74855725d9df53141907.tar.gz
frameworks_base-0ec0418c6eac5076774a74855725d9df53141907.tar.bz2
Update the JavaDoc for the new accessibility permissions
Change-Id: I1d52e848fec6c56cdb1f8ff66d07414dd2518086
Diffstat (limited to 'core/java/android/accessibilityservice/AccessibilityServiceInfo.java')
-rw-r--r--core/java/android/accessibilityservice/AccessibilityServiceInfo.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/core/java/android/accessibilityservice/AccessibilityServiceInfo.java b/core/java/android/accessibilityservice/AccessibilityServiceInfo.java
index 2dc0501..ef7186b 100644
--- a/core/java/android/accessibilityservice/AccessibilityServiceInfo.java
+++ b/core/java/android/accessibilityservice/AccessibilityServiceInfo.java
@@ -149,8 +149,13 @@ 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;
+ public static final int FLAG_REQUEST_TOUCH_EXPLORATION_MODE = 0x0000004;
/**
* This flag requests from the system to enable web accessibility enhancing
@@ -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;