Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d3c592a authored by Ameer Armaly's avatar Ameer Armaly Committed by Android (Google) Code Review
Browse files

Merge "Fix incorrect logic in multi-finger multi-tap and hold." into sc-dev

parents 8dcab0de 0551453e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ class MultiFingerMultiTapAndHold extends MultiFingerMultiTap {

    @Override
    protected void onUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) {
        if (mCompletedTapCount + 1 == mTargetFingerCount) {
        if (mCompletedTapCount + 1 == mTargetTapCount) {
            // Calling super.onUp  would complete the multi-tap version of this.
            cancelGesture(event, rawEvent, policyFlags);
        } else {