1
mirror of https://github.com/revanced/revanced-patcher synced 2025-04-01 10:49:19 +02:00

chore: merge branch dev to main ()

This commit is contained in:
oSumAtrIX 2023-07-01 02:41:21 +02:00 committed by GitHub
commit 57f3036a96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 1 deletions
CHANGELOG.mdgradle.properties
src/main/kotlin/app/revanced/patcher
Patcher.kt
fingerprint/method/impl

@ -1,3 +1,10 @@
## [11.0.4-dev.1](https://github.com/revanced/revanced-patcher/compare/v11.0.3...v11.0.4-dev.1) (2023-07-01)
### Bug Fixes
* clear method lookup maps ([#198](https://github.com/revanced/revanced-patcher/issues/198)) ([9d81baf](https://github.com/revanced/revanced-patcher/commit/9d81baf4b4ca7514f8a1009e72218638609a7c7f))
## [11.0.3](https://github.com/revanced/revanced-patcher/compare/v11.0.2...v11.0.3) (2023-06-30)

@ -1,2 +1,2 @@
kotlin.code.style = official
version = 11.0.3
version = 11.0.4-dev.1

@ -389,6 +389,8 @@ class Patcher(private val options: PatcherOptions) {
if (stopOnError) return@sequence
}
}
MethodFingerprint.clearFingerprintResolutionLookupMaps()
}
}

@ -138,6 +138,15 @@ abstract class MethodFingerprint(
}
}
/**
* Clears the internal lookup maps created in [initializeFingerprintResolutionLookupMaps]
*/
internal fun clearFingerprintResolutionLookupMaps() {
methods.clear()
methodSignatureLookupMap.clear()
methodStringsLookupMap.clear()
}
/**
* Resolve a list of [MethodFingerprint] using the lookup map built by [initializeFingerprintResolutionLookupMaps].
*