Merge "MultiFingerMultiTap: reset the expiration clock when fingers go up." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2a5f86f78c
@@ -197,6 +197,7 @@ class MultiFingerMultiTap extends GestureMatcher {
|
|||||||
if (getState() == STATE_GESTURE_STARTED || getState() == STATE_CLEAR) {
|
if (getState() == STATE_GESTURE_STARTED || getState() == STATE_CLEAR) {
|
||||||
// Needs more fingers lifted within the tap timeout
|
// Needs more fingers lifted within the tap timeout
|
||||||
// after reaching the target number of fingers are down.
|
// after reaching the target number of fingers are down.
|
||||||
|
cancelAfterTapTimeout(event, rawEvent, policyFlags);
|
||||||
} else {
|
} else {
|
||||||
cancelGesture(event, rawEvent, policyFlags);
|
cancelGesture(event, rawEvent, policyFlags);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user