Skip to content

Commit f2bf2da

Browse files
authored
fix(Instagram - Hide ads): Restore compatibility with latest version by fixing fingerprint (#3455)
1 parent 1531700 commit f2bf2da

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/main/kotlin/app/revanced/patches/instagram/patches/ad/fingerprints/AdInjectorFingerprint.kt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@ package app.revanced.patches.instagram.patches.ad.fingerprints
22

33
import app.revanced.patcher.fingerprint.MethodFingerprint
44
import com.android.tools.smali.dexlib2.AccessFlags
5-
import com.android.tools.smali.dexlib2.Opcode
65

76
internal object AdInjectorFingerprint : MethodFingerprint(
87
returnType = "Z",
98
accessFlags = AccessFlags.PRIVATE.value,
109
parameters = listOf("L", "L"),
11-
opcodes = listOf(
12-
Opcode.IGET,
13-
Opcode.INVOKE_INTERFACE,
14-
Opcode.MOVE_RESULT_OBJECT,
10+
strings = listOf(
11+
"SponsoredContentController.insertItem",
12+
"SponsoredContentController::Delivery",
1513
),
16-
strings = listOf("SponsoredContentController::Delivery"),
1714
)

0 commit comments

Comments
 (0)