androidx / androidx/media

Blurry LargeIcon on Android 15

Open
#2,436 3 comments 0 reactions 1 assignee View on GitHub

@tianyif is already working on this.

Since May 19, 2025.

question
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:
Image

Actual result

Very low resolution bitmap:
Image

Media

N/A

Bug Report
  • You will email the zip file produced by adb bugreport to android-media-github@google.com after filing this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.