From 1ee2e4ba56097c5e06c93c9ce04cb5543f0e4a67 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Wed, 6 Apr 2022 19:36:44 +0200 Subject: [PATCH] fix: match to correct signature method parameters --- .../kotlin/app/revanced/patcher/resolver/SignatureResolver.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patcher/resolver/SignatureResolver.kt b/src/main/kotlin/app/revanced/patcher/resolver/SignatureResolver.kt index dad6340..883621f 100644 --- a/src/main/kotlin/app/revanced/patcher/resolver/SignatureResolver.kt +++ b/src/main/kotlin/app/revanced/patcher/resolver/SignatureResolver.kt @@ -75,7 +75,7 @@ internal class SignatureResolver( } signature.methodParameters?.let { _ -> - if (signature.methodParameters.all { signatureMethodParameter -> + if (!signature.methodParameters.all { signatureMethodParameter -> method.parameterTypes.any { methodParameter -> methodParameter.startsWith(signatureMethodParameter) }