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

Unverified Commit 582c437b authored by Michael Bestas's avatar Michael Bestas
Browse files

fixup! Implement edge long swipe gesture to new back gesture affordance

Change-Id: I059169d7b1a5d2f4cba7f4e1e20842facba341e2
parent d1799cd0
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -683,7 +683,10 @@ internal constructor(
    private fun setTriggerLongSwipe(enabled: Boolean) {
        if (triggerLongSwipe != enabled) {
            triggerLongSwipe = enabled
            vibratorHelper.vibrate(VIBRATE_ACTIVATED_EFFECT)
            vibratorHelper.performHapticFeedback(
                    mView,
                    HapticFeedbackConstants.GESTURE_THRESHOLD_ACTIVATE
            )
            updateRestingArrowDimens()
            // Whenever the trigger back state changes
            // the existing translation animation should be cancelled