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

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

Merge "Updating the pattern bouncer haptic MSDL token." into main

parents 6d841050 f2790323
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -350,7 +350,7 @@ class PatternBouncerViewModelTest : SysuiTestCase() {
        testScope.runTest {
            underTest.performDotFeedback(null)

            assertThat(msdlPlayer.latestTokenPlayed).isEqualTo(MSDLToken.DRAG_INDICATOR)
            assertThat(msdlPlayer.latestTokenPlayed).isEqualTo(MSDLToken.DRAG_INDICATOR_DISCRETE)
            assertThat(msdlPlayer.latestPropertiesPlayed).isNull()
        }

+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ class BouncerHapticPlayer @Inject constructor(private val msdlPlayer: dagger.Laz
                HapticFeedbackConstants.FLAG_IGNORE_VIEW_SETTING,
            )
        } else {
            msdlPlayer.get().playToken(MSDLToken.DRAG_INDICATOR)
            msdlPlayer.get().playToken(MSDLToken.DRAG_INDICATOR_DISCRETE)
        }
    }