Merge "MultiFingerMultiTap: reset the expiration clock when fingers go up." into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-05-21 00:06:47 +00:00
committed by Android (Google) Code Review

View File

@@ -197,6 +197,7 @@ class MultiFingerMultiTap extends GestureMatcher {
if (getState() == STATE_GESTURE_STARTED || getState() == STATE_CLEAR) {
// Needs more fingers lifted within the tap timeout
// after reaching the target number of fingers are down.
cancelAfterTapTimeout(event, rawEvent, policyFlags);
} else {
cancelGesture(event, rawEvent, policyFlags);
}