diff --git a/app/androidApp/build.gradle.kts b/app/androidApp/build.gradle.kts index 236042d..7081068 100644 --- a/app/androidApp/build.gradle.kts +++ b/app/androidApp/build.gradle.kts @@ -137,6 +137,7 @@ dependencies { coreLibraryDesugaring(libs.desugar.jdk.libs) implementation(libs.compose.runtime) + implementation(libs.compose.runtime.tracing) implementation(libs.compose.foundation) implementation(libs.compose.material3) implementation(libs.compose.ui) diff --git a/app/androidApp/src/main/AndroidManifest.xml b/app/androidApp/src/main/AndroidManifest.xml index 4ce4bd8..603e5fb 100644 --- a/app/androidApp/src/main/AndroidManifest.xml +++ b/app/androidApp/src/main/AndroidManifest.xml @@ -29,6 +29,12 @@ android:allowBackup="true" android:theme="@android:style/Theme.Material.Light.NoActionBar" tools:ignore="MissingApplicationIcon"> + + diff --git a/app/gradle/libs.versions.toml b/app/gradle/libs.versions.toml index cbddc57..9591090 100644 --- a/app/gradle/libs.versions.toml +++ b/app/gradle/libs.versions.toml @@ -68,6 +68,11 @@ androidx-exifinterface = { module = "androidx.exifinterface:exifinterface", vers # Declared directly rather than through the plugin's `compose.*` accessors, # which are deprecated as of CMP 1.11. compose-runtime = { module = "org.jetbrains.compose.runtime:runtime", version.ref = "compose-multiplatform" } +# Names composables in a system trace, which is how a per-frame cost on the +# phone gets attributed to a composable rather than to "Compose". Inert until +# a trace is being recorded. Its own release train: 1.12.0 was the newest +# stable on Google Maven on 2026-09-02. +compose-runtime-tracing = { module = "androidx.compose.runtime:runtime-tracing", version = "1.12.0" } compose-foundation = { module = "org.jetbrains.compose.foundation:foundation", version.ref = "compose-multiplatform" } compose-material3 = { module = "org.jetbrains.compose.material3:material3", version.ref = "compose-material3" } compose-ui = { module = "org.jetbrains.compose.ui:ui", version.ref = "compose-multiplatform" }