Skip to content

Commit

Permalink
Adding device specific constants for Samsung devices.
Browse files Browse the repository at this point in the history
These constants should bring better consistency with views rotary experience
  • Loading branch information
Kpeved committed Feb 16, 2024
1 parent 1c84728 commit 9de84fc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class HapticsTest {

val hapticFeedback = getHapticFeedback()

assertThat(hapticFeedback.javaClass.simpleName).isEqualTo("GalaxyWatchClassicHapticFeedback")
assertThat(hapticFeedback.javaClass.simpleName).isEqualTo("GalaxyWatchHapticFeedback")
}

@Test
Expand All @@ -128,7 +128,7 @@ class HapticsTest {

val hapticFeedback = getHapticFeedback()

assertThat(hapticFeedback.javaClass.simpleName).isEqualTo("DefaultRotaryHapticFeedback")
assertThat(hapticFeedback.javaClass.simpleName).isEqualTo("GalaxyWatchHapticFeedback")
}

private fun getHapticFeedback(): RotaryHapticFeedback {
Expand Down

0 comments on commit 9de84fc

Please sign in to comment.