Loading packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/ShadeScene.kt +1 −2 Original line number Diff line number Diff line Loading @@ -373,7 +373,6 @@ private fun SceneScope.MediaIfVisible( ) { if (viewModel.isMediaVisible()) { val density = LocalDensity.current val layoutWidth = remember { mutableStateOf(0) } val mediaHeight = dimensionResource(R.dimen.qs_media_session_height_expanded) MediaCarousel( Loading @@ -389,7 +388,7 @@ private fun SceneScope.MediaIfVisible( layout(placeable.width, placeable.height) { placeable.placeRelative(0, 0) } }, mediaHost = mediaHost, layoutWidth = layoutWidth.value, layoutWidth = 0, layoutHeight = with(density) { mediaHeight.toPx() }.toInt(), carouselController = mediaCarouselController, ) Loading Loading
packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/ShadeScene.kt +1 −2 Original line number Diff line number Diff line Loading @@ -373,7 +373,6 @@ private fun SceneScope.MediaIfVisible( ) { if (viewModel.isMediaVisible()) { val density = LocalDensity.current val layoutWidth = remember { mutableStateOf(0) } val mediaHeight = dimensionResource(R.dimen.qs_media_session_height_expanded) MediaCarousel( Loading @@ -389,7 +388,7 @@ private fun SceneScope.MediaIfVisible( layout(placeable.width, placeable.height) { placeable.placeRelative(0, 0) } }, mediaHost = mediaHost, layoutWidth = layoutWidth.value, layoutWidth = 0, layoutHeight = with(density) { mediaHeight.toPx() }.toInt(), carouselController = mediaCarouselController, ) Loading