fix(Instagram - Hide ads): Restore compatibility with latest version by fixing fingerprint (#3455)

This commit is contained in:
Tim 2024-07-19 01:50:03 +02:00 committed by GitHub
parent bf604df0c5
commit 4505fa4138
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"),
)