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
import jadx.api.plugins.input.data.attributes.IJadxAttrType | |
import jadx.api.plugins.input.data.attributes.IJadxAttribute | |
import jadx.core.dex.instructions.ConstStringNode | |
import jadx.core.dex.instructions.InsnType | |
import jadx.core.dex.instructions.InvokeNode | |
import jadx.core.dex.instructions.InvokeType | |
import jadx.core.dex.instructions.args.RegisterArg | |
import jadx.core.dex.nodes.ClassNode | |
import jadx.core.dex.nodes.InsnNode | |
import jadx.core.dex.nodes.MethodNode |
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
object VideoAdsPatch : PatchTest<BytecodeData> { | |
override val metadata = metadata { | |
name = "video-ads" | |
friendlyName = "Disable Video Ads" | |
description = "Removes ads in the video player." | |
version = "0.0.1" | |
compatibility = SharedCompatibility.`video-ads` | |
dependsOn(IntegrationsPatch::class, SettingsPatch::class) | |
dependsOn(ShowVideoAdsConstructorFingerprint) |