Skip to content

Drop default action delay back to 4 seconds#227

Merged
d4rken merged 1 commit into
mainfrom
chore/revert-default-action-delay
May 11, 2026
Merged

Drop default action delay back to 4 seconds#227
d4rken merged 1 commit into
mainfrom
chore/revert-default-action-delay

Conversation

@d4rken

@d4rken d4rken commented May 11, 2026

Copy link
Copy Markdown
Member

PR #226 had bumped the default actionDelay from 4s to 6s as a defensive hedge against a hypothetical "Android shuffles BT stream volume late during route setup" scenario. On-device verification with AirPods Pro 2 on a Pixel 8 shows the BT route stabilizes well before 4s elapse — volume changes land at the intended target and stay there, no shuffle. The 6s margin was load-bearing for no observable problem.

Reverting to 4s saves ~2s of the user-perceived connect time for everyone on the default. Users on slower routes who need longer can still customize per-device in advanced settings.

Test plan

  • ./gradlew testFossDebugUnitTest (594 pass)
  • ./gradlew testGplayDebugUnitTest (594 pass)
  • Manual on-device test on Pixel 8 + AirPods Pro 2 with volumeObserving + autoplay + musicVolume=100%: connect pipeline completes cleanly at the user's target volume, music starts after volume settled.

PR #226 had bumped the default from 4s to 6s as a hedge against Android shuffling the BT stream volume late during route setup. On-device verification with AirPods Pro 2 on a Pixel 8 shows the route is stable well before 4s elapse and volume changes land at the intended target with no shuffle. Two seconds shaved off the typical connect-to-stable time for users who never customized actionDelay.
@d4rken d4rken merged commit cf12d4e into main May 11, 2026
11 checks passed
@d4rken d4rken deleted the chore/revert-default-action-delay branch May 11, 2026 14:35
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