Videoland TV: pauze-ad-hook via methodOrNull in plaats van skip op build #165
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#165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Uit #138.
Onze Hide ads slaat de pauze-ad-hook op Android TV over op basis van de build (
videoland/ads/HideAdsPatch.kt:if (videolandBuild() == PHONE)), omdat de methode in TV 1.116.3 ontbrak. De patch van dutch-applications-patches voor TV 1.117.0 hooktGetFirstPlayablePauseAdItemUseCaseImpl.aenTvReplayControl.U(), dus de methode lijkt in nieuwere TV-builds terug te zijn. Dan meldt onze patchAppliedzonder de hook en komen pauze-ads stil terug.Let op: PR #161 declareert TV 1.118.0 als getest zonder dit te controleren.
Te doen
decompiled/nl.rtl.videoland.v2-1.118.0) of de pauze-ad-methode er is.methodOrNull(let op:methodOrNullgooit toch als de class-fingerprint matcht maar de methode niet; branch zo nodig op een andere fingerprint).check-patches.shop phone 1.115.2, TV 1.116.3 en TV 1.118.0; liefst een korte test op de TV-box.Grootte: S. Graag vóór de volgende TV-versie.
Fixed on dev by #161: the pause-ad hook is now applied whenever the request method exists (TV 1.118.0 has it again, TV 1.116.3 logs a skip), not by build. check-patches exit 0 on phone 1.115.2, TV 1.116.3 and TV 1.118.0. Not yet tested on the TV box.