-
Notifications
You must be signed in to change notification settings - Fork 406
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
MediaSession Notification not loading content://
URIs.
#327
Comments
There is This bitmap loader can handle Can you give a bit more detail what use case is not working with Because I actually thought that if a URI with |
Thanks for the response Marc. So, the way that it seems to work right now, if the content URI is provided via artworkUri, it does work in some scenarios, such as in Android Auto, but it does not work with the default notification provided by MediaSession. I think this is just because the |
Ah, yes sorry, my bad. It only works on API 33 without converting the URI to a bitmap, because before API 33 we need to use the We will include the |
Issue: #327 PiperOrigin-RevId: 525103046
I'm not sure if I'm understanding the issue correctly, but I do use uris and they show notification images both on Api 33 as well as api 28 for instance: |
[REQUIRED] Use case description
Currently, the notification displayed from the MediaSession loads URIs from the web via
https://
but it does not loadcontent://
URIs. This is catalogued but never followed up in issue #9 at the final comment.Proposed solution
Adjusted the Bitmap loader to also load content URIs.
Alternatives considered
None
The text was updated successfully, but these errors were encountered: