Skip to content

Commit

Permalink
Merge "Fix SelectionContainerFocusTest failure under API 23" into and…
Browse files Browse the repository at this point in the history
…roidx-main
  • Loading branch information
Haoyu Zhang authored and Gerrit Code Review committed May 8, 2021
2 parents 49b8deb + b3dae50 commit 80b41da
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import androidx.compose.ui.hapticfeedback.HapticFeedbackType
import androidx.compose.ui.layout.onGloballyPositioned
import androidx.compose.ui.platform.LocalHapticFeedback
import androidx.compose.ui.platform.LocalLayoutDirection
import androidx.compose.ui.platform.LocalTextToolbar
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.test.click
import androidx.compose.ui.test.hasTestTag
Expand Down Expand Up @@ -155,7 +156,8 @@ class SelectionContainerFocusTest {
rule.setContent {
CompositionLocalProvider(
LocalHapticFeedback provides hapticFeedback,
LocalLayoutDirection provides layoutDirection
LocalLayoutDirection provides layoutDirection,
LocalTextToolbar provides mock()
) {
Column {
SelectionContainer(
Expand Down

0 comments on commit 80b41da

Please sign in to comment.