Loading packages/SystemUI/src/com/android/systemui/qs/panels/ui/compose/infinitegrid/CommonTile.kt +11 −8 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.getValue import androidx.compose.runtime.key import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.runtime.setValue Loading Loading @@ -176,6 +177,7 @@ fun SmallTileContent( } else if (icon is Icon.Resource) { val image = AnimatedImageVector.animatedVectorResource(id = icon.res) val painter = key(icon) { if (animateToEnd) { rememberAnimatedVectorPainter(animatedImageVector = image, atEnd = true) } else { Loading @@ -186,6 +188,7 @@ fun SmallTileContent( } rememberAnimatedVectorPainter(animatedImageVector = image, atEnd = atEnd) } } Image( painter = painter, contentDescription = icon.contentDescription?.load(), Loading Loading
packages/SystemUI/src/com/android/systemui/qs/panels/ui/compose/infinitegrid/CommonTile.kt +11 −8 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.getValue import androidx.compose.runtime.key import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.runtime.setValue Loading Loading @@ -176,6 +177,7 @@ fun SmallTileContent( } else if (icon is Icon.Resource) { val image = AnimatedImageVector.animatedVectorResource(id = icon.res) val painter = key(icon) { if (animateToEnd) { rememberAnimatedVectorPainter(animatedImageVector = image, atEnd = true) } else { Loading @@ -186,6 +188,7 @@ fun SmallTileContent( } rememberAnimatedVectorPainter(animatedImageVector = image, atEnd = atEnd) } } Image( painter = painter, contentDescription = icon.contentDescription?.load(), Loading