Fixed
Status Update
Comments
ch...@google.com <ch...@google.com>
ol...@google.com <ol...@google.com> #2
It looks like this was fixed in
ol...@google.com <ol...@google.com> #3
For the avoidance of doubt, I think it's just the three lines in RemotePlaybackClient
that are needed from the ref'd commit to fix the issue.
to...@google.com <to...@google.com> #4
The fix for this is in mediarouter:1.2.6
(released 2022-01-26).
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.