Skip to content

Fix Android Auto image fallback and microphone permission - #51

Merged
fython merged 2 commits into
mainfrom
fix/android-auto-44-45
Oct 24, 2026
Merged

fython merged 2 commits into
mainfrom
fix/android-auto-44-45

Conversation

@fython

@fython fython commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Normalize Android Auto Annex-B access units to four-byte start codes at the source boundary, so three-byte and mixed start codes survive the public image decode path without changing CarPlay length-prefix handling.
  • Request RECORD_AUDIO before Android Auto session creation only when the Android microphone source is enabled. If permission is denied, explain that the connection will continue without microphone input. Preserve the pending connection across activity recreation.
  • Add regression coverage for three-byte, four-byte, and mixed start codes through MediaCodecSupport.toAnnexB.
  • Align the Pages and Worker Wrangler project names to wheelplay.

Closes #44
Closes #45

Validation

  • git diff --check passed.
  • :common:testDebugUnitTest --tests com.shilapi.xcertplay.projection.androidauto.AapVideoTest could not start because Gradle 9.3.1 was not cached and services.gradle.org could not be resolved from this environment.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
2ec0544 2026-10-24T07:37:08.910Z View logs ↗
  • Build: Failed ❌

View logs ↗
52a566a 2026-10-24T07:28:28.145Z View logs ↗
  • Build: Failed ❌

View logs ↗
1fc5181 2026-10-24T07:25:21.379Z View logs ↗

@fython
fython force-pushed the fix/android-auto-44-45 branch from 1fc5181 to 52a566a Compare October 24, 2026 07:27
@fython
fython merged commit 0db266b into main Oct 24, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants