mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
perf: do not resolve empty signatures list
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
bfeeaf4435
commit
1f7bf3ac6c
1 changed files with 3 additions and 0 deletions
|
@ -107,6 +107,9 @@ class Patcher(
|
|||
}
|
||||
|
||||
val signatures = patcherData.patches.flatMap { it.signatures }
|
||||
|
||||
if (signatures.isEmpty()) return emptyList()
|
||||
|
||||
SignatureResolver(patcherData.classes.internalClasses, signatures).resolve(patcherData)
|
||||
signaturesResolved = true
|
||||
return signatures
|
||||
|
|
Loading…
Reference in a new issue