fix: Use correct instruction
This commit is contained in:
parent
9b30c4bc50
commit
246cf2cc92
|
@ -46,7 +46,7 @@ object TimelineFilterPatch : BytecodePatch(
|
|||
addInstructionsWithLabels(
|
||||
filterInsertIndex, """
|
||||
const-string v$stringRegister, "$typeName"
|
||||
invoke-interface { v$filterListRegister, v$stringRegister }, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
invoke-virtual { v$filterListRegister, v$stringRegister }, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
"""
|
||||
)
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@ object TimelineFilterIntegrationFingerprint : MethodFingerprint(
|
|||
strings = listOf("BLOCKED_OBJECT_DUMMY"),
|
||||
opcodes = listOf(
|
||||
Opcode.CONST_STRING, // "BLOCKED_OBJECT_DUMMY"
|
||||
Opcode.INVOKE_INTERFACE // List.add(^)
|
||||
Opcode.INVOKE_VIRTUAL // HashSet.add(^)
|
||||
)
|
||||
)
|
Loading…
Reference in a new issue