summaryrefslogtreecommitdiff
path: root/player-server/internal/setassign/setassign.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-23 01:07:12 +0300
committerPaul Buetow <paul@buetow.org>2026-05-23 01:07:12 +0300
commitb9de6316f5308eb467c1ab01d8193eb7945dafad (patch)
tree3d4244cfed1e7d42e8a53529edea0e64be703d55 /player-server/internal/setassign/setassign.go
parent8d450ee93f095cfd2c5374b181d34ead9b49d502 (diff)
Configure audio_service notification icon so playback does not crashmain
Android refuses to post a foreground-service notification without a small-icon drawable; without androidNotificationIcon set, the very first AudioPlayer.play() triggers a FATAL "Invalid notification (no valid small icon)" the moment audio_service tries to publish the media-session metadata, killing the app process. Re-use drawable/ic_launcher — the project's existing launcher icon — as the small notification icon. A dedicated monochrome silhouette would be more polished, but the launcher icon is good enough to unblock playback today. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'player-server/internal/setassign/setassign.go')
0 files changed, 0 insertions, 0 deletions