From 954a1d44e463ef234fe71c54d9eaefe27c0eb83b Mon Sep 17 00:00:00 2001 From: ibaker Date: Tue, 25 Feb 2025 07:53:16 -0800 Subject: [PATCH] Bump `play-services-cast-framework` cast dependency to `21.5.0` This resolves an app crash on devices with Google Play Services installed but disabled due to `FLAG_MUTABLE` on a `PendingIntent`. Issue: androidx/media#2178 #cherrypick PiperOrigin-RevId: 730885329 (cherry picked from commit c4eef6042bbd814cbf25b3bb91ae1433618a290a) --- RELEASENOTES.md | 4 ++++ libraries/cast/build.gradle | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index cf1c634d09..db90569a9d 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -49,6 +49,10 @@ * MIDI extension: * Leanback extension: * Cast Extension: + * Bump the `play-services-cast-framework` dependency to 21.5.0 to fix a + `FLAG_MUTABLE` crash in apps targeting API 34+ on devices with Google + Play services installed but disabled + ([#2178](https://github.com/androidx/media/issues/2178)). * Test Utilities: * Demo app: * Remove deprecated symbols: diff --git a/libraries/cast/build.gradle b/libraries/cast/build.gradle index 4f6302a1ca..f92471d201 100644 --- a/libraries/cast/build.gradle +++ b/libraries/cast/build.gradle @@ -24,7 +24,7 @@ android { } dependencies { - api 'com.google.android.gms:play-services-cast-framework:21.3.0' + api 'com.google.android.gms:play-services-cast-framework:21.5.0' implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion api project(modulePrefix + 'lib-common') compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion