Merge "Fix flaky test. Hyphenation works only on API 28+." into androidx-main
diff --git a/compose/ui/ui-text/src/androidAndroidTest/kotlin/androidx/compose/ui/text/style/HyphensTest.kt b/compose/ui/ui-text/src/androidAndroidTest/kotlin/androidx/compose/ui/text/style/HyphensTest.kt
index cb93b53..9daf874 100644
--- a/compose/ui/ui-text/src/androidAndroidTest/kotlin/androidx/compose/ui/text/style/HyphensTest.kt
+++ b/compose/ui/ui-text/src/androidAndroidTest/kotlin/androidx/compose/ui/text/style/HyphensTest.kt
@@ -17,10 +17,12 @@
 package androidx.compose.ui.text.style
 
 import androidx.compose.ui.text.ExperimentalTextApi
+import androidx.test.filters.SdkSuppress
 import com.google.common.truth.Truth.assertThat
 import org.junit.Test
 
 @OptIn(ExperimentalTextApi::class)
+@SdkSuppress(minSdkVersion = 28)
 class HyphensTest : TextLineBreaker() {
     private val text = "Transformation"