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)
This commit is contained in:
ibaker 2025-02-25 07:53:16 -08:00 committed by oceanjules
parent 8b9e9203a1
commit 954a1d44e4
2 changed files with 5 additions and 1 deletions

View File

@ -49,6 +49,10 @@
* MIDI extension: * MIDI extension:
* Leanback extension: * Leanback extension:
* Cast 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: * Test Utilities:
* Demo app: * Demo app:
* Remove deprecated symbols: * Remove deprecated symbols:

View File

@ -24,7 +24,7 @@ android {
} }
dependencies { 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 implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
api project(modulePrefix + 'lib-common') api project(modulePrefix + 'lib-common')
compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion