-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exoplayer WorkManager Extension is not compatible with Android 12 #9181
Comments
We will also update ExoPlayer to use |
Also an issue with the cast extension:
|
Forcing play-services-cast-framework:20.0.0 doesn't fix it:
|
@clhols this is not related to this bug (Exoplayer WorkManager Extension). |
WorkManager https://developer.android.com/jetpack/androidx/releases/work#2.7.0-beta01 |
It should now be straightforward for applications to work around this problem by adding an explicit dependency on |
Issue #9181 #minor-release PiperOrigin-RevId: 403049218
There is a behavior change in Android 12 which requires that one of
FLAG_IMMUTABLE
orFLAG_MUTABLE
be specified when creating aPendingIntent
if the app is targeting Android 12.Current stable version (
2.5.0
) of WorkManager don’t have these flags, and so it affects all apps directly, or indirectly using WorkManager.Apps will throw the following exception in runtime
Developer could manually adding the a compatible version of WorkManager (e.g.
2.7.0-alpha04
) in their build.gradle file as workaroundIssue is on current version of ExoPlayer WorkManager Extension (
2.14.1
)The text was updated successfully, but these errors were encountered: