Repository navigation
fix(download): prevent cancelled mobile batches from restoring - #566
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to
|
带入上游: - fix(ui): preserve page state and back navigation across rotation (cwuom#570) - fix(download): prevent cancelled mobile batches from restoring (cwuom#566) - fix(nowplaying): sync matched favorites and refine song sheets (cwuom#562) - feat(lyrics): add ColorOS 16/17 lockscreen lyrics with Root and Shizuku (cwuom#563) - fix(lyrics): preserve Bluetooth lyrics in display metadata (cwuom#560) - fix(ui): stabilize cover morphs and improve Clean switch contrast (cwuom#561) - fix(netease): isolate rejected songs during playlist sync (cwuom#559) - feat(backup): protect configuration exports and warn on HTTP WebDAV (cwuom#557) - perf(ui): defer expensive UI work and complete Clean theme styling (cwuom#556) - fix(auth): persist accounts when Android Keystore is unavailable (cwuom#554) - fix(lyrics): apply translation mode before publishing songs (cwuom#553) - fix(local): restore scanned audio playback and metadata writes (cwuom#551) 与心动模式改动的重叠文件(NowPlayingScreen、NowPlayingQueueSheet、 MoreOptionsMainContent、PersistedPlayerState、PersistedPlayerStateMapping、 PlayerManager、PlayerManagerPersistenceExtensions、NeteaseClient)均为自动合并, 无冲突;heartbeatMode 持久化字段与恢复调用保持完整。
描述 / Description
移动或漫游网络下多选下载后取消流量确认,原实现已经创建 OPEN 持久批次,取消时仅移除内存展示,导致重启后再次出现下载中的批次卡。
将流量确认移到创建持久批次、清理停止标记和恢复已有任务之前,并覆盖等待删除清理超时的延迟入口。未确认的请求不再留下可恢复批次,也不会提升或恢复原有 operation。
确认检查与持久化共用同一次网络快照,保留 Wi-Fi/未知网络准入时的限制,避免准备期间切换移动网络后未经确认使用流量。
类型 / Type
修复或解决的问题 / Issues Fixed or Closed by This PR
修复流量模式下取消多选下载后,重启恢复未确认批次的状态问题。
清单 / Checklist
其他信息 / Additional Information
验证:
./gradlew :download:runtime:verifyCrap :download:runtime:lintDebug :verifyModuleBoundaries --offline --console=plain通过验证边界:
变更内容
测试