diff --git a/constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/ConstraintLayout.kt b/constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/ConstraintLayout.kt index abe36cebb..0e1d670c2 100644 --- a/constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/ConstraintLayout.kt +++ b/constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/ConstraintLayout.kt @@ -248,7 +248,6 @@ inline fun ConstraintLayout( } } } - @OptIn(ExperimentalMotionApi::class) MotionLayout( start = startConstraint, end = endConstraint, diff --git a/constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/ExperimentalMotionApi.kt b/constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/ExperimentalMotionApi.kt deleted file mode 100644 index 3cc672907..000000000 --- a/constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/ExperimentalMotionApi.kt +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2021 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package androidx.constraintlayout.compose - -@RequiresOptIn("MotionLayout API is experimental and is likely to change.") -annotation class ExperimentalMotionApi \ No newline at end of file diff --git a/constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/MotionLayout.kt b/constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/MotionLayout.kt index cc4c12d15..1f6a9292b 100644 --- a/constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/MotionLayout.kt +++ b/constraintlayout/compose/src/main/java/androidx/constraintlayout/compose/MotionLayout.kt @@ -57,7 +57,6 @@ import java.util.* */ @Suppress("NOTHING_TO_INLINE") @Composable -@ExperimentalMotionApi inline fun MotionLayout( start: ConstraintSet, end: ConstraintSet, @@ -94,7 +93,6 @@ inline fun MotionLayout( * are finished. Use [finishedAnimationListener] to know when a transition has stopped. */ @Composable -@ExperimentalMotionApi inline fun MotionLayout( motionScene: MotionScene, constraintSetName: String? = null, @@ -201,7 +199,6 @@ inline fun MotionLayout( } @Composable -@ExperimentalMotionApi inline fun MotionLayout( start: ConstraintSet, end: ConstraintSet, @@ -264,7 +261,6 @@ inline fun MotionLayout( @Suppress("NOTHING_TO_INLINE") @Composable -@ExperimentalMotionApi inline fun MotionLayout( motionScene: MotionScene, progress: Float,