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

Commit 4a29c5e8 authored by Winson's avatar Winson Committed by android-build-merger
Browse files

Removing extra haptic feedback. am: 7660bca5 am: db7ef937

am: 4b592938

* commit '4b592938':
  Removing extra haptic feedback.

Change-Id: Ic2062ade25f7c83736cb3c504c3e5bb387738417
parents 5dc33bdd 4b592938
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1065,9 +1065,6 @@ public class DividerView extends FrameLayout implements OnTouchListener,
        mEntranceAnimationRunning = true;
        resizeStack(position, mSnapAlgorithm.getMiddleTarget().position,
                mSnapAlgorithm.getMiddleTarget());

        // Vibrate after docking
        performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY);
    }

    public final void onBusEvent(RecentsDrawnEvent drawnEvent) {
@@ -1105,9 +1102,6 @@ public class DividerView extends FrameLayout implements OnTouchListener,
            mExitStartPosition = getCurrentPosition();
            stopDragging(mExitStartPosition, target, 336 /* duration */, 100 /* startDelay */,
                    0 /* endDelay */, Interpolators.FAST_OUT_SLOW_IN);

            // Vibrate after undocking
            performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY);
        }
    }
}