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

Commit e9bc6461 authored by Winson's avatar Winson Committed by The Android Automerger
Browse files

Removing extra haptic feedback.

- ag/923796 changed the logic to always return true, so these extra 
  calls are no longer needed.

Bug: 28867314
Change-Id: I07a4f6ac772a1444bba1950b2f27aa4be58a8419
parent da30e6db
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);
        }
    }
}