am 45cde607: am c5211780: Merge "Sending interaction end event at the end of a drag." into jb-mr1-dev

* commit '45cde607d5c6dfe39675a12d3bc47a0bc74565a2':
  Sending interaction end event at the end of a drag.
This commit is contained in:
Svetoslav Ganov
2012-10-01 10:13:12 -07:00
committed by Android Git Automerger

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(