Loading packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/TestTransition.kt +7 −4 Original line number Diff line number Diff line Loading @@ -138,10 +138,13 @@ fun MotionTestRule<ComposeToolkit>.recordTransition( toScene: SceneKey = TestScenes.SceneB, ): RecordedMotion { val state = toolkit.composeContentTestRule.runOnUiThread { MutableSceneTransitionLayoutState( fromScene, transitions { from(fromScene, to = toScene, builder = transition) } ) } return recordMotion( content = { play -> LaunchedEffect(play) { Loading Loading
packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/TestTransition.kt +7 −4 Original line number Diff line number Diff line Loading @@ -138,10 +138,13 @@ fun MotionTestRule<ComposeToolkit>.recordTransition( toScene: SceneKey = TestScenes.SceneB, ): RecordedMotion { val state = toolkit.composeContentTestRule.runOnUiThread { MutableSceneTransitionLayoutState( fromScene, transitions { from(fromScene, to = toScene, builder = transition) } ) } return recordMotion( content = { play -> LaunchedEffect(play) { Loading