mirror of
https://github.com/revanced/revanced-patches
synced 2025-01-17 01:27:32 +01:00
feat(youtube/general-ads): check for ad in identifier
This commit is contained in:
parent
9eb03ad56e
commit
fd0506eb95
@ -357,7 +357,7 @@ class GeneralBytecodeAdsPatch : BytecodePatch() {
|
|||||||
lithoMethod.addInstructions(
|
lithoMethod.addInstructions(
|
||||||
insertIndex, // right after setting the component.pathBuilder field,
|
insertIndex, // right after setting the component.pathBuilder field,
|
||||||
"""
|
"""
|
||||||
invoke-static {v5}, Lapp/revanced/integrations/patches/GeneralBytecodeAdsPatch;->isAdComponent(Ljava/lang/StringBuilder;)Z
|
invoke-static {v5, v2}, Lapp/revanced/integrations/patches/GeneralBytecodeAdsPatch;->isAdComponent(Ljava/lang/StringBuilder;Ljava/lang/String;)Z
|
||||||
move-result v$clobberedRegister
|
move-result v$clobberedRegister
|
||||||
if-eqz v$clobberedRegister, :not_an_ad
|
if-eqz v$clobberedRegister, :not_an_ad
|
||||||
move-object/from16 v2, p1
|
move-object/from16 v2, p1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user