Merge "Sending interaction end event at the end of a drag." into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c5211780ce
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user