Skip to content

Add Rewind destination for ring music gestures - #375

Open
voijoi wants to merge 1 commit into
coredevices:masterfrom
voijoi:rewind-destination
Open

Add Rewind destination for ring music gestures#375
voijoi wants to merge 1 commit into
coredevices:masterfrom
voijoi:rewind-destination

Conversation

@voijoi

@voijoi voijoi commented Aug 23, 2026

Copy link
Copy Markdown

The ring's music gestures can route to play/pause, next track or nothing — there's no way to jump backwards, which audiobook and podcast listeners need at least as often as skipping forward.

This adds a PreviousTrack destination wired identically to NextTrack end to end: routing enum, preference encoding (previous_track), switchboard entry ("Rewind", SkipPrevious icon), action handler, and the expect/actual dispatch — Android sends KEYCODE_MEDIA_PREVIOUS exactly as onNextTrack sends KEYCODE_MEDIA_NEXT; iOS is a no-op matching the existing pattern. 37 insertions across 7 files, no behaviour change for existing routes.

Written with AI assistance (Claude); I have reviewed every line and hardware-tested on a Pixel 10 Pro + Index ring against Listen Audiobook Player, verifying the position moves straight back via dumpsys media_session.

🤖 Generated with Claude Code

The ring's music gestures could route to play/pause, next track or
nothing; there was no way to jump backwards, which audiobook and podcast
listeners need. Adds a PreviousTrack destination wired the same way as
NextTrack end to end: routing enum, preference encoding, switchboard
entry (SkipPrevious icon), action handler, and the expect/actual
dispatch, with Android sending KEYCODE_MEDIA_PREVIOUS exactly as
onNextTrack sends KEYCODE_MEDIA_NEXT and iOS a no-op to match.

Written with AI assistance; reviewed and hardware-tested by the
submitter on a Pixel 10 Pro with an Index ring against Listen Audiobook
Player.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@CLAassistant

CLAassistant commented Aug 23, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

2 participants