Merge "Sending interaction end event at the end of a drag." into jb-mr1-dev

This commit is contained in:
Svetoslav Ganov
2012-09-28 17:38:32 -07:00
committed by Android (Google) Code Review

View File

@@ -700,13 +700,6 @@ class TouchExplorer implements EventStreamTransformation {
}
}
} break;
case MotionEvent.ACTION_POINTER_UP: {
final int pointerId = event.getPointerId(event.getActionIndex());
if (mReceivedPointerTracker.isActiveOrWasLastActiveUpPointer(pointerId)) {
sendUpForInjectedDownPointers(event, policyFlags);
mCurrentState = STATE_TOUCH_EXPLORING;
}
} break;
case MotionEvent.ACTION_UP: {
// Announce the end of a new touch interaction.
sendAccessibilityEvent(