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

Commit f84eb3dd authored by Ryan Lin's avatar Ryan Lin Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11942158

Change-Id: I64af785ed705fb5c0564cbac534856af5f907a2f
parents 8f70c6d7 d531e285
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++) {