Fixed
Status Update
Comments
ch...@google.com <ch...@google.com>
ol...@google.com <ol...@google.com> #2
Please include a sample project that reproduces your issue.
ol...@google.com <ol...@google.com> #3
Sample project attached. Just add to plain project this dependencies allow to reproduce.
def emoji2_version = "1.1.0-beta01"
implementation "androidx.emoji2:emoji2:$emoji2_version"
def lifecycle_version = "2.5.0-alpha01"
implementation "androidx.lifecycle:lifecycle-process:$lifecycle_version"
to...@google.com <to...@google.com> #4
The reason may be related to 2.4.0
of lifecycle-process
as workaround.
Description
RemotePlaybackClient constructor crashes on API 31
Log:
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.