Skip to content

Refactor PlayPause logic and fix behavior for SinglePods (e.g. AirPods Max)#355

Merged
d4rken merged 2 commits intomainfrom
SinglePods-PlayPause
Feb 21, 2026
Merged

Refactor PlayPause logic and fix behavior for SinglePods (e.g. AirPods Max)#355
d4rken merged 2 commits intomainfrom
SinglePods-PlayPause

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented Nov 11, 2025

Fix edge case where removing a pod while both were in ears didn't trigger pause in one-pod mode. The aggregate boolean (isEitherPodInEar) stayed true, masking the individual pod removal.

See thread by ZV:
https://discord.com/channels/548521543039189022/1437499888068726814

@d4rken d4rken added the bug Something isn't working label Nov 11, 2025
@d4rken d4rken marked this pull request as draft February 7, 2026 18:31
@d4rken d4rken force-pushed the SinglePods-PlayPause branch from 97a1b9c to 3c7e10e Compare February 19, 2026 17:40
…s Max)

Fix edge case where removing a pod while both were in ears didn't trigger pause in one-pod mode. The aggregate boolean (isEitherPodInEar) stayed true, masking the individual pod removal.

See thread by `ZV`:
https://discord.com/channels/548521543039189022/1437499888068726814
@d4rken d4rken force-pushed the SinglePods-PlayPause branch 2 times, most recently from ea8e360 to 2c3dcc5 Compare February 20, 2026 09:15
Add missing test cases for single-pod one-pod-mode pause direction,
EarDetectionState single-pod properties, and normal-mode steady-state.
Fix stale test comments that incorrectly claimed tests would fail.
Clarify onePodMode flow combine pattern and isWorn field semantics.
@d4rken d4rken marked this pull request as ready for review February 20, 2026 11:25
@d4rken d4rken merged commit 9785b5e into main Feb 21, 2026
9 checks passed
@d4rken d4rken deleted the SinglePods-PlayPause branch February 21, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant