Merge "MultiFingerMultiTap: reset the expiration clock when fingers go up." into rvc-dev am: 2a5f86f78c am: 94ea87dac5

Change-Id: Idd5b30ecd0a14f70eb21e14eab838661c7c1307b
This commit is contained in:
TreeHugger Robot
2020-05-21 00:10:56 +00:00
committed by Automerger Merge Worker

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);
}