Skip to content

Commit c521178

Browse files
sganovAndroid (Google) Code Review
authored andcommitted
Merge "Sending interaction end event at the end of a drag." into jb-mr1-dev
2 parents 2c22bb8 + 4682421 commit c521178

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

services/java/com/android/server/accessibility/TouchExplorer.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -700,13 +700,6 @@ private void handleMotionEventStateDragging(MotionEvent event, int policyFlags)
700700
}
701701
}
702702
} break;
703-
case MotionEvent.ACTION_POINTER_UP: {
704-
final int pointerId = event.getPointerId(event.getActionIndex());
705-
if (mReceivedPointerTracker.isActiveOrWasLastActiveUpPointer(pointerId)) {
706-
sendUpForInjectedDownPointers(event, policyFlags);
707-
mCurrentState = STATE_TOUCH_EXPLORING;
708-
}
709-
} break;
710703
case MotionEvent.ACTION_UP: {
711704
// Announce the end of a new touch interaction.
712705
sendAccessibilityEvent(

0 commit comments

Comments
 (0)