mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-01 21:54: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) {
|
||||
null
|
||||
} else {
|
||||
method.implementation?.instructions?.scanFor(signature.opcodes)!!
|
||||
}
|
||||
return if (signature.opcodes == null) PatternScanResult(0,0)
|
||||
else method.implementation?.instructions?.scanFor(signature.opcodes)
|
||||
}
|
||||
|
||||
private fun compareParameterTypes(signature: Array<String>, original: MutableList<out CharSequence>): Boolean {
|
||||
|
Loading…
x
Reference in New Issue
Block a user