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

* commit '95841ac3c2d45a839cc3cd0bd420fd9d91ccd583':
  Inconsistent events on transition from gesture detection to touch exploration.
This commit is contained in:
Svetoslav Ganov
2012-09-28 10:42:49 -07:00
committed by Android Git Automerger

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();
}
}