mirror of
https://github.com/Silent1566/webhtv.git
synced 2026-10-08 19:44:46 +00:00
fix(following): 播放页追更按钮改为就地取消,不再跳转追更页
已追更时再次点击播放页(mobile/leanback VideoActivity 与内联播放中的 TmdbDetailActivity)的追更按钮,此前会跳转到追更列表页打断播放。现在改为 就地取消:写墓碑、取消该条 one-shot 检查、刷新按钮为“加入追更”并提示 “已取消追更”,全程停留在当前播放页。未播放的详情页保持原有 “已追更→打开追更详情”约定。 Verification: FOLLOW-PLAYBACK-CANCEL: playback-page 追更 button is now an in-place toggle. mobile/leanback VideoActivity and inline-playing TmdbDetailActivity write the tombstone, cancel the per-item one-shot check, refresh the button back to 加入追更 and toast 已取消追更 without navigating. Evidence: :app:testMobileArm64_v8aDebugUnitTest and :app:testLeanbackArm64_v8aDebugUnitTest FollowingUiSourceTest = 15 tests / 0 failures each; :app:assembleLeanbackArm64_v8aDebug and :app:assembleMobileArm64_v8aDebug BUILD SUCCESSFUL; scripts/build_arm64_debug_install.sh --flavor mobile --serial 192.168.50.3:5559 installed over the existing package; device tap on the followed show's playback page stayed on VideoActivity (mResumedActivity unchanged) with deleted_at=1791123588777/enabled=0 and the screenshot shows the 已取消追更 toast plus the button reverted to 加入追更; non-playing TmdbDetailActivity still opens FollowingActivity as documented; git diff --check clean Task-Guard: FOLLOW-PLAYBACK-CANCEL
This commit is contained in:
parent
08d6cca51e
commit
aa5345c835
8 changed files with 97 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue