fix: detect Videoland TV and phone builds by class and scope the Force HD toggle #115
No reviewers
Labels
No labels
area/architecture
area/build-ci
area/bytecode
area/code-quality
area/docs
area/extension
area/fingerprint
area/security
area/tests
Bug report
Feature request
review
sev/low
sev/medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
midas/midas-patches!115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "review/videoland-builds"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #105, fixes #87 and #88, and the Videoland points of #100.
videoland/shared/VideolandBuild.kttells phone (MobileReplayControl) and Android TV (SettingsFragment) builds apart by class, not by a version list; throws when neither exists. Hide ads uses the throwing.methodfor the pause-ad hook on phone builds and skips it only on TV. The TV Midas Settings patch skips cleanly (log line) on a phone build picked via the experimental target. Auto skip intro fails with a clear message on TV builds.videoland.mdhas a per-version phone/TV table (1.116.4: unknown, assumed phone).force_hdis only registered on TV builds; on phone builds Force HD is always on when applied, and the description says so (no more "54 Mbps").PatchCategoryKDoc fixed (Playback is a toggle category only); AGENTS.md/videoland.md corrected.sget-objectafter the parse call;isSetVisibilityrequiresandroid.view.View. The move-result insertions in Force HD and Log video assets stay plainaddInstructionson purpose: a branch into the next instruction carries another value and must skip the hook (comment in the code).Verified: build, unit tests;
list-patchesidentical except Force HD's description; Applied identical to origin/dev on 1.115.2 (phone) and 1.116.3 (TV) with all patches enabled; with-fthe TV settings patch skips on phone and Auto skip intro refuses TV. No device test.🤖 Generated with Claude Code