Skip to content

perf: reduce notification artwork to 300px max#64

Merged
chrisuthe merged 1 commit intomainfrom
perf/downscale-notification-artwork
Mar 8, 2026
Merged

perf: reduce notification artwork to 300px max#64
chrisuthe merged 1 commit intomainfrom
perf/downscale-notification-artwork

Conversation

@chrisuthe
Copy link
Copy Markdown
Owner

Summary

  • Reduced MAX_ARTWORK_SIZE from 480px to 300px in PlaybackService.kt
  • Notifications and lock screen only display small thumbnails, so 300px is more than sufficient
  • The UI loads artwork independently via URL, so in-app display quality is unaffected
  • Reduces memory usage for the JPEG-compressed artworkData stored in MetadataForwardingPlayer

Test plan

  • Verify notification artwork still displays correctly on phone lock screen
  • Verify Android Auto artwork renders properly
  • Confirm in-app album art is still full resolution
  • Check memory usage is reduced when artwork is present

@chrisuthe chrisuthe merged commit 03535a6 into main Mar 8, 2026
Notifications and lock screen only display small thumbnails, so passing
large bitmaps wastes memory. The UI loads artwork independently via URL,
so this does not affect in-app display quality.
@chrisuthe chrisuthe deleted the perf/downscale-notification-artwork branch March 8, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant