summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorPhil Weaver <pweaver@google.com>2016-04-07 20:34:33 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-04-07 20:34:34 +0000
commitfb6dd3bbc18a425e25f9761cbcc96b8eb169b04f (patch)
tree983bf5068712de672ed0d0b30f87908eec1506fe /core/java
parentcff102508cf4cf1d2f298ebdba663bd27c458520 (diff)
parent155dda1e433a003f65b1d6a65d54bec107d27db5 (diff)
Merge "Treat accessibility gestures like physical ones." into nyc-dev
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/accessibilityservice/AccessibilityService.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/accessibilityservice/AccessibilityService.java b/core/java/android/accessibilityservice/AccessibilityService.java
index bf823f8d960f..56728ad881e1 100644
--- a/core/java/android/accessibilityservice/AccessibilityService.java
+++ b/core/java/android/accessibilityservice/AccessibilityService.java
@@ -600,11 +600,16 @@ public abstract class AccessibilityService extends Service {
* Dispatch a gesture to the touch screen. Any gestures currently in progress, whether from
* the user, this service, or another service, will be cancelled.
* <p>
+ * The gesture will be dispatched as if it were performed directly on the screen by a user, so
+ * the events may be affected by features such as magnification and explore by touch.
+ * </p>
+ * <p>
* <strong>Note:</strong> In order to dispatch gestures, your service
* must declare the capability by setting the
* {@link android.R.styleable#AccessibilityService_canPerformGestures}
* property in its meta-data. For more information, see
* {@link #SERVICE_META_DATA}.
+ * </p>
*
* @param gesture The gesture to dispatch
* @param callback The object to call back when the status of the gesture is known. If