From d8333b37cf9b0d3d7b72a3206d5fb369c227ca8f Mon Sep 17 00:00:00 2001 From: jbibik Date: Mon, 6 Jan 2025 06:02:55 -0800 Subject: [PATCH] Upgrade compose bom to 2024.12.01 The latest version of `androidx.compose.foundation:foundation` fixed an issue where `AndroidEmbeddedExternalSurface` would not reset properly. This in turn prevented PlayerSurface Composable with type `SURFACE_TYPE_TEXTURE_VIEW` from being redrawn after returning to a stopped activity. PiperOrigin-RevId: 712501647 --- demos/compose/build.gradle | 2 +- libraries/ui_compose/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/compose/build.gradle b/demos/compose/build.gradle index 023ba912b9..e76e45a69b 100644 --- a/demos/compose/build.gradle +++ b/demos/compose/build.gradle @@ -66,7 +66,7 @@ android { } dependencies { - def composeBom = platform('androidx.compose:compose-bom:2024.05.00') + def composeBom = platform('androidx.compose:compose-bom:2024.12.01') implementation composeBom implementation 'androidx.activity:activity-compose:1.9.0' diff --git a/libraries/ui_compose/build.gradle b/libraries/ui_compose/build.gradle index 371674bdcb..84376d7072 100644 --- a/libraries/ui_compose/build.gradle +++ b/libraries/ui_compose/build.gradle @@ -50,7 +50,7 @@ dependencies { api project(modulePrefix + 'lib-common') api project(modulePrefix + 'lib-common-ktx') - def composeBom = platform('androidx.compose:compose-bom:2024.01.00') + def composeBom = platform('androidx.compose:compose-bom:2024.12.01') implementation composeBom implementation 'androidx.compose.foundation:foundation'