Skip to content

Commit 95841ac

Browse files
sganovAndroid (Google) Code Review
authored andcommitted
Merge "Inconsistent events on transition from gesture detection to touch exploration." into jb-mr1-dev
2 parents ca86882 + aed4b6f commit 95841ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

services/java/com/android/server/accessibility/TouchExplorer.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,11 @@ public void remove() {
13001300

13011301
@Override
13021302
public void run() {
1303+
// Announce the end of gesture recognition.
1304+
sendAccessibilityEvent(AccessibilityEvent.TYPE_GESTURE_DETECTION_END);
1305+
// Clearing puts is in touch exploration state with a finger already
1306+
// down, so announce the transition to exploration state.
1307+
sendAccessibilityEvent(AccessibilityEvent.TYPE_TOUCH_EXPLORATION_GESTURE_START);
13031308
clear();
13041309
}
13051310
}

0 commit comments

Comments
 (0)