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

Commit 62e08797 authored by Tony Wickham's avatar Tony Wickham
Browse files

Fix extra haptic on swipe up

Test: swipe up in 0 button mode, no haptic until pause detected

Bug: 181165935
Change-Id: I69b598cf8e1ac1038d5cfad0f43468a8d7d23e4a
parent 4076cae8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -617,7 +617,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>,
        final boolean passed = mCurrentShift.value >= MIN_PROGRESS_FOR_OVERVIEW;
        if (passed != mPassedOverviewThreshold) {
            mPassedOverviewThreshold = passed;
            if (!mDeviceState.isTwoButtonNavMode()) {
            if (mDeviceState.isTwoButtonNavMode()) {
                performHapticFeedback();
            }
        }