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

Commit d531e285 authored by Ryan Lin's avatar Ryan Lin Committed by Android (Google) Code Review
Browse files

Merge "Fix Hard to detect multi-finger multi-tap" into rvc-dev

parents 1d53e823 1f913ea0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -67,8 +67,8 @@ class MultiFingerMultiTap extends GestureMatcher {
        Preconditions.checkArgumentPositive(taps, "Tap count must greater than 0.");
        mTargetTapCount = taps;
        mTargetFingerCount = fingers;
        mDoubleTapSlop = ViewConfiguration.get(context).getScaledDoubleTapSlop();
        mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop();
        mDoubleTapSlop = ViewConfiguration.get(context).getScaledDoubleTapSlop() * fingers;
        mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop() * fingers;

        mBases = new PointF[mTargetFingerCount];
        for (int i = 0; i < mBases.length; i++) {