Blurry LargeIcon on Android 15
@tianyif is already working on this.
Since May 19, 2025.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Version
Media3 main branch
More version details
1.7.1 and 1.6.1 Tested
Devices that reproduce the issue
Any device running on stock Android 15.
Devices that do not reproduce the issue
Not know exactly what API level this was introduced, but Android 10 did not seam to have the issue.
Reproducible in the demo app?
Not tested
Reproduction steps
Use setMediaDescriptionAdapter and override getCurrentLargeIcon. Any supplied bitmap will be scaled down, and this is done by Android in any notification that uses setLargeIcon. However this is fixed by
MediaMetadataCompat.Builder().putBitmap(MediaMetadataCompat.METADATA_KEY_ALBUM_ART, icon) for some unknown reason. The issue here is that exoplayer does not expose the mediasession directly, so I can not set METADATA_KEY_ALBUM_ART for the mediasession.
Expected result
High resolution bitmap image, this is the exact bitmap supplied:
Actual result
Very low resolution bitmap:
Media
N/A
Bug Report
- You will email the zip file produced by
adb bugreportto android-media-github@google.com after filing this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.