mirror of
https://github.com/revanced/revanced-patches
synced 2025-01-05 22:05:53 +01:00
fix(Instagram - Hide ads): Restore compatibility with latest version by fixing fingerprint (#3455)
This commit is contained in:
parent
bf604df0c5
commit
4505fa4138
@ -2,16 +2,13 @@ package app.revanced.patches.instagram.patches.ad.fingerprints
|
|||||||
|
|
||||||
import app.revanced.patcher.fingerprint.MethodFingerprint
|
import app.revanced.patcher.fingerprint.MethodFingerprint
|
||||||
import com.android.tools.smali.dexlib2.AccessFlags
|
import com.android.tools.smali.dexlib2.AccessFlags
|
||||||
import com.android.tools.smali.dexlib2.Opcode
|
|
||||||
|
|
||||||
internal object AdInjectorFingerprint : MethodFingerprint(
|
internal object AdInjectorFingerprint : MethodFingerprint(
|
||||||
returnType = "Z",
|
returnType = "Z",
|
||||||
accessFlags = AccessFlags.PRIVATE.value,
|
accessFlags = AccessFlags.PRIVATE.value,
|
||||||
parameters = listOf("L", "L"),
|
parameters = listOf("L", "L"),
|
||||||
opcodes = listOf(
|
strings = listOf(
|
||||||
Opcode.IGET,
|
"SponsoredContentController.insertItem",
|
||||||
Opcode.INVOKE_INTERFACE,
|
"SponsoredContentController::Delivery",
|
||||||
Opcode.MOVE_RESULT_OBJECT,
|
|
||||||
),
|
),
|
||||||
strings = listOf("SponsoredContentController::Delivery"),
|
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user