mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-02 14:04:24 +02:00
fix: compareSignatureToMethod
not matching correctly in case opcodes are null
This commit is contained in:
parent
c267b12a7d
commit
cca12aa34a
@ -77,11 +77,8 @@ internal class SignatureResolver(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return if (signature.opcodes == null) {
|
return if (signature.opcodes == null) PatternScanResult(0,0)
|
||||||
null
|
else method.implementation?.instructions?.scanFor(signature.opcodes)
|
||||||
} else {
|
|
||||||
method.implementation?.instructions?.scanFor(signature.opcodes)!!
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun compareParameterTypes(signature: Array<String>, original: MutableList<out CharSequence>): Boolean {
|
private fun compareParameterTypes(signature: Array<String>, original: MutableList<out CharSequence>): Boolean {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user