diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 81e25f90eb..6e5f508aba 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -36,6 +36,11 @@ calls from the player to `Surface.setFrameRate`. This is useful for applications wanting to call `Surface.setFrameRate` directly from application code with Android 12's `Surface.CHANGE_FRAME_RATE_ALWAYS`. + * Upgrade the WorkManager extension to depend on + `androidx.work:work-runtime:2.7.0`. Earlier versions of `work-runtime` + are not compatible with apps targeting Android 12, and will crash with + an `IllegalArgumentException` when creating `PendingIntent`s + ([#9181](https://github.com/google/ExoPlayer/issues/9181)). * UI: * `SubtitleView` no longer implements `TextOutput`. `SubtitleView` implements `Player.Listener`, so can be registered to a player with diff --git a/extensions/workmanager/build.gradle b/extensions/workmanager/build.gradle index 02a1055d87..ba2de98729 100644 --- a/extensions/workmanager/build.gradle +++ b/extensions/workmanager/build.gradle @@ -17,7 +17,7 @@ apply from: "$gradle.ext.exoplayerSettingsDir/common_library_config.gradle" dependencies { implementation project(modulePrefix + 'library-core') - implementation 'androidx.work:work-runtime:2.5.0' + implementation 'androidx.work:work-runtime:2.7.0' compileOnly 'org.jetbrains.kotlin:kotlin-annotations-jvm:' + kotlinAnnotationsVersion }