Merge "Inconsistent events on transition from gesture detection to touch exploration." into jb-mr1-dev

This commit is contained in:
Svetoslav Ganov
2012-09-28 10:37:55 -07:00
committed by Android (Google) Code Review

View File

@@ -1300,6 +1300,11 @@ class TouchExplorer implements EventStreamTransformation {
@Override
public void run() {
// Announce the end of gesture recognition.
sendAccessibilityEvent(AccessibilityEvent.TYPE_GESTURE_DETECTION_END);
// Clearing puts is in touch exploration state with a finger already
// down, so announce the transition to exploration state.
sendAccessibilityEvent(AccessibilityEvent.TYPE_TOUCH_EXPLORATION_GESTURE_START);
clear();
}
}