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

Commit 0551453e authored by Ameer Armaly's avatar Ameer Armaly
Browse files

Fix incorrect logic in multi-finger multi-tap and hold.

Bug: 179168487
Test: atest AccessibilityGestureDetectorTest
Change-Id: I8592dbe7684d8d763821da0b883b9a7d74e3ebae
parent e7a937b0
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 {