905f05c120
Nothing drove the audio_service session to a terminal state and the notification is configured ongoing, so the Wear tile / lock screen / notification lingered on a stale paused track indefinitely. - stop() override: pause, broadcast idle, clear queue/mediaItem, then super.stop() so the foreground service + notification (and watch tile) tear down; in-app mini bar collapses in lockstep. - onTaskRemoved(): keep playing if audio is active (standard media behaviour), otherwise stop so a dismissed-while-paused app doesn't leave a stale tile. - 5-minute idle timer armed while paused or on a finished queue, cancelled on resume / new queue, re-checked at fire time. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>