[go: nahoru, domu]

Carry text2 back into text

This is the initial step of stabilizing BasicTextField2 and all the related APIs.

Test: gradle :compose:foundation:foundation:cAT
Test: gradle :compose:foundation:foundation:testDebug
Relnote: "BasicTextField2 and related APIs under `androidx.compose.foundation.text2` package are moved to `androidx.compose.foundation.text`."
Change-Id: I9f6355e98b573d8985af9ec5135634da58bcc597
diff --git a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt
index ec504b5..87a3f18 100644
--- a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt
+++ b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt
@@ -22,8 +22,8 @@
 import androidx.compose.foundation.gestures.waitForUpOrCancellation
 import androidx.compose.foundation.text.Handle
 import androidx.compose.foundation.text.TextDragObserver
+import androidx.compose.foundation.text.input.internal.coerceIn
 import androidx.compose.foundation.text.selection.Selection.AnchorInfo
-import androidx.compose.foundation.text2.input.internal.coerceIn
 import androidx.compose.runtime.MutableState
 import androidx.compose.runtime.State
 import androidx.compose.runtime.getValue