From 4505fa4138bb55c8957790239c01b8dda63d6cdd Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 19 Jul 2024 01:50:03 +0200 Subject: [PATCH] fix(Instagram - Hide ads): Restore compatibility with latest version by fixing fingerprint (#3455) --- .../patches/ad/fingerprints/AdInjectorFingerprint.kt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/instagram/patches/ad/fingerprints/AdInjectorFingerprint.kt b/src/main/kotlin/app/revanced/patches/instagram/patches/ad/fingerprints/AdInjectorFingerprint.kt index 1e250d7d6..d136042f8 100644 --- a/src/main/kotlin/app/revanced/patches/instagram/patches/ad/fingerprints/AdInjectorFingerprint.kt +++ b/src/main/kotlin/app/revanced/patches/instagram/patches/ad/fingerprints/AdInjectorFingerprint.kt @@ -2,16 +2,13 @@ package app.revanced.patches.instagram.patches.ad.fingerprints import app.revanced.patcher.fingerprint.MethodFingerprint import com.android.tools.smali.dexlib2.AccessFlags -import com.android.tools.smali.dexlib2.Opcode internal object AdInjectorFingerprint : MethodFingerprint( returnType = "Z", accessFlags = AccessFlags.PRIVATE.value, parameters = listOf("L", "L"), - opcodes = listOf( - Opcode.IGET, - Opcode.INVOKE_INTERFACE, - Opcode.MOVE_RESULT_OBJECT, + strings = listOf( + "SponsoredContentController.insertItem", + "SponsoredContentController::Delivery", ), - strings = listOf("SponsoredContentController::Delivery"), )