Fixed
Status Update
Comments
ch...@google.com <ch...@google.com>
ol...@google.com <ol...@google.com> #2
Thanks for your suggestion!
We'll be reviewing this for further consideration. Please star this issue to get updates and leave comments for additional information. Please note that starring the issue also provides our product team with valuable feedback on the importance of the issue to our customers.
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.