diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f12636..76daa03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [12.1.1-dev.2](https://github.com/ReVanced/revanced-patcher/compare/v12.1.1-dev.1...v12.1.1-dev.2) (2023-08-03) + +## [12.1.1-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v12.1.0...v12.1.1-dev.1) (2023-08-03) + + +### Bug Fixes + +* clear method lookup maps before initializing them ([#210](https://github.com/ReVanced/revanced-patcher/issues/210)) ([746544f](https://github.com/ReVanced/revanced-patcher/commit/746544f9d51d1013bb160075709cd26bffd425b3)) + # [12.1.0](https://github.com/ReVanced/revanced-patcher/compare/v12.0.0...v12.1.0) (2023-08-03) diff --git a/build.gradle.kts b/build.gradle.kts index 27d0712..1f70773 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -23,7 +23,7 @@ dependencies { implementation("xpp3:xpp3:1.1.4c") implementation("app.revanced:smali:2.5.3-a3836654") implementation("app.revanced:multidexlib2:2.5.3-a3836654") - implementation("app.revanced:apktool-lib:2.8.3") + implementation("app.revanced:apktool-lib:2.8.2-1") implementation("org.jetbrains.kotlin:kotlin-reflect:1.8.22") testImplementation("org.jetbrains.kotlin:kotlin-test:1.8.20-RC") diff --git a/gradle.properties b/gradle.properties index 380eec9..76868e7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ org.gradle.parallel = true org.gradle.caching = true kotlin.code.style = official -version = 12.1.0 +version = 12.1.1-dev.2 diff --git a/src/main/kotlin/app/revanced/patcher/Patcher.kt b/src/main/kotlin/app/revanced/patcher/Patcher.kt index a0bf713..60bdf65 100644 --- a/src/main/kotlin/app/revanced/patcher/Patcher.kt +++ b/src/main/kotlin/app/revanced/patcher/Patcher.kt @@ -392,4 +392,4 @@ class Patcher(private val options: PatcherOptions) { * @param patchInstance The instance of the [Patch] that was applied. * @param success The result of the [Patch]. */ -internal data class ExecutedPatch(val patchInstance: Patch, val success: Boolean) \ No newline at end of file +internal data class ExecutedPatch(val patchInstance: Patch, val success: Boolean) diff --git a/src/main/kotlin/app/revanced/patcher/fingerprint/method/impl/MethodFingerprint.kt b/src/main/kotlin/app/revanced/patcher/fingerprint/method/impl/MethodFingerprint.kt index 3921827..3cd2212 100644 --- a/src/main/kotlin/app/revanced/patcher/fingerprint/method/impl/MethodFingerprint.kt +++ b/src/main/kotlin/app/revanced/patcher/fingerprint/method/impl/MethodFingerprint.kt @@ -99,7 +99,7 @@ abstract class MethodFingerprint( methodClassPairs!!.add(methodClassPair) } - if (methods.isNotEmpty()) throw PatchResultError("Map already initialized") + if (methods.isNotEmpty()) MethodFingerprint.clearFingerprintResolutionLookupMaps() context.classes.classes.forEach { classDef -> classDef.methods.forEach { method -> @@ -510,4 +510,4 @@ data class MethodFingerprintResult( ) } } -} \ No newline at end of file +}