Skip to content

Android Auto wake and connection recovery — 0.1.577

Choose a tag to compare

@mossyhub mossyhub released this 05 Nov 06:40
9e84550

Android Auto wake and connection recovery

This update addresses two car-side problems that can leave Android Auto disconnected.

Prevent a disconnect-time freeze

Remove a lock-order conflict that could freeze the car app when a media Pause command arrived during Android Auto disconnect cleanup. The process could keep writing background logs while its UI and later automatic connections stopped progressing.

The repair preserves commands for the current connection while rejecting commands queued for an old connection. CarPlay media ownership and intentional disconnect behavior are unchanged.

Recover sooner from an interrupted startup

When the connection closes before Android Auto negotiation finishes, OAL now retires that failed startup attempt immediately instead of continuing to treat it as connected until the startup watchdog expires. Existing recovery backoff and protections for a healthy streaming connection remain in place.

Compatibility and current limits

  • No re-pairing, settings reset or connection-setup change is required.
  • Companion behavior and the wire protocol are unchanged. The version-matched Companion APK does not contain a phone-side connection repair; existing users do not need to reinstall Companion for these car-side changes.
  • Regression tests cover the shutdown overlap on Android 12L and 14, stale-command rejection and startup-failure handling. Confirmation of the reported freeze and reconnect behavior in a vehicle remains pending.

Changes: 0.1.576 → 0.1.577