generated from ReVanced/revanced-patches-template
-
-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(twitch): remove
block-embedded-ads
patch (#1164)
- Loading branch information
Showing
9 changed files
with
30 additions
and
224 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
10 changes: 0 additions & 10 deletions
10
...in/kotlin/app/revanced/patches/twitch/ad/embedded/annotations/EmbeddedAdsCompatibility.kt
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...tlin/app/revanced/patches/twitch/ad/embedded/fingerprints/CreateUsherClientFingerprint.kt
This file was deleted.
Oops, something went wrong.
78 changes: 0 additions & 78 deletions
78
src/main/kotlin/app/revanced/patches/twitch/ad/embedded/patch/EmbeddedAdsPatch.kt
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
src/main/kotlin/app/revanced/patches/twitch/ad/shared/util/AbstractAdPatch.kt
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...ngerprints/GetReadyToShowAdFingerprint.kt → ...deo/fingerprints/AdsManagerFingerprint.kt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
package app.revanced.patches.twitch.ad.video.fingerprints | ||
|
||
|
||
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint | ||
|
||
object GetReadyToShowAdFingerprint : MethodFingerprint( | ||
object AdsManagerFingerprint : MethodFingerprint( | ||
customFingerprint = { method -> | ||
method.definingClass.endsWith("/StreamDisplayAdsPresenter;") && method.name == "getReadyToShowAdOrAbort" | ||
method.definingClass.endsWith("AdsManagerImpl;") && method.name == "playAds" | ||
} | ||
) |
This file contains 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
This file contains 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