Repository navigation
feat: 接入实验性 Android Auto 本机/USB/TCP 协议源 - #39
Merged
Merged
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
为多输入源框架增加实验性的 Android Auto 本机、USB AOA 和显式 TCP Head Unit Server 接入:手机视频进入公共视频输出,浏览器触控转换为 AAP 输入事件。底部中间 Tab 改为“输入源”,按 CarPlay (iPhone)、Android Auto、ICCOA CarLink、诊断源展示大卡片,具体连接和设置放入各自二级页面。
Refs #28。本 PR 交付实验性 Android Auto 接入,不关闭完整多协议支持需求。
实现范围
127.0.0.1:5277,提供首次设置引导、设置跳转及失败后恢复引导;仍需用户手动开启 Android Auto 开发者模式和 Head Unit Server。异常恢复
验证与限制
e0e5121:shared/common 完整单元测试 815 项通过,零失败、零跳过;其中 Android Auto 专项 18 项通过。:mobile:assembleDebug、:common:assembleDebugAndroidTest、:mobile:lintDebug全部通过;lint 无 Error/Fatal,保持 20 项 Warning。尚未完成真实 Android Auto 手机/USB 硬件验收。 模拟端测试不能证明所有 AA 版本兼容;本机音频焦点、语音助手、CarPlay/AA 切换和拔插清理仍需真机验证。不包含自动无线发现/配对、浏览器音频/麦克风、Now Playing、HFP、动态分辨率或自动重连。
ICCOA 协议尚未实现。 公开 MiAuto 仓库缺少专有
icar-sdk.dex运行库;ICCOA 卡片与二级页说明暂不可用,不提供无效连接操作,底层也在切源前拒绝启动。后续取得适用 SDK 后另行适配与验证。Shizuku/ADB 本机虚拟桌面方案单独跟踪于 #40,不包含在本 PR 中。连接说明、恢复策略、完整限制与真机验收清单见 docs/ANDROID_AUTO.md。