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

Commit 95937cac authored by Juan Sebastian Martinez's avatar Juan Sebastian Martinez Committed by Android (Google) Code Review
Browse files

Merge "Playing dismiss haptics even when a dismiss occurs from a brief fling." into main

parents 515a5321 9e85bf98
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -366,7 +366,12 @@ constructor(
        detachDirectionEstimator.reset()
        if (row.isSwipedTarget()) {
            when (currentState) {
                State.TARGETS_SET -> currentState = State.IDLE
                State.TARGETS_SET -> {
                    if (dismissing) {
                        playThresholdHaptics()
                    }
                    currentState = State.IDLE
                }
                State.PULLING -> {
                    if (dismissing) {
                        playThresholdHaptics()