Repository navigation
port(upstream): 移植 Nshpiter/HuaweiPods 1 个提交(到 dc5b9d1) - #6
Merged
Merged
Conversation
(cherry picked from commit dc5b9d14e9030be95b178699d674d1a3217e1e6d)
…新会话状态、触发 UI 回调或持久化低时延策略。本次仅修复该问题:统一管理读取和写入票据;暂停、销毁时失效票据并复位 busy 状态、结束旧 UI 等待;过期及重复回调不再更新状态、执行完成回
…一性;音效删除任意字节子串搜索的 fallback,统一使用已有 HuaweiEqualizerCodec 的严格 TLV 解析。新增独立回归测试,覆盖错误类型、错误长度、重复字段、跨字段误匹
…ddress、route 记忆的会话状态,路由切换或组件退出时使旧会话失效;写入回调先检查会话有效性,过期回调不能更新状态或显示失败 Toast。新增不依赖 Compose UI 测试库的 i
…eeClip 2 专用 verified 宿主操作,将写出、最多两次耳机回读和策略提交放入同一事务;提交前同时检查手动操作 token、设备会话和客户端请求期限。页面不再先调用有提前保存副作用
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.
由 upstream_merge.py 自动生成,审核模型 gpt-6.1-sol。
上游:Nshpiter/HuaweiPods
115f080..dc5b9d1,1 个提交,移植其中 1 个判断(风险 中):这条提交虽以发版命名,但包含 FreeBuds 4 兼容适配、FreeClip 2 状态回读和 FreeBuds 7i 协议纠错,值得选择性移植。剔除小米通知确认、补发及设置页改动;HuaweiHfpController.kt 本次修改也属于该通知恢复链路,排除可避免引入小米接口依赖或改变 fork 的生命周期行为。上游版本号、发布说明和文档不移植,已删除的文件不恢复。
注意:FreeClip2Controls.kt 的 diff 被截断,移植前补齐,检查暂停/恢复、过期回调和低时延策略保存,保留蓝牙宿主写入以免争抢连接。HeadsetStateDispatcher 只接入 ColorOS 实际使用的图标刷新优化,保留现有热重载交接、会话、生命周期分发及广播信任校验。新增 FreeBuds 4 后检查 fork 专属控制、机型选择、所有穷举分支及官方图片映射,并运行单元测试和 Debug/Release 构建;上游验证不能替代 ColorOS 实测。
🤖 Generated with Claude Code