fix: breaking patcher changes

Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
oSumAtrIX 2022-05-04 23:52:50 +02:00
parent 86e0728e15
commit 581d1b0ca7
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -15,7 +15,7 @@ internal class SignatureChecker {
if (!file.exists()) { if (!file.exists()) {
throw IllegalStateException("Missing $file! To run this test, please place stock.apk here: ${file.absolutePath}") throw IllegalStateException("Missing $file! To run this test, please place stock.apk here: ${file.absolutePath}")
} }
val patcher = Patcher(file) val patcher = Patcher(file, "signatureCheckerCache", false)
patcher.addPatches(Index.patches.map { it() }) patcher.addPatches(Index.patches.map { it() })
val unresolved = mutableListOf<MethodSignature>() val unresolved = mutableListOf<MethodSignature>()
for (signature in patcher.resolveSignatures()) { for (signature in patcher.resolveSignatures()) {