diff --git a/CHANGELOG.md b/CHANGELOG.md index 207763c4..85a27cc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [15.0.1-dev.1](https://github.com/ReVanced/revanced-patcher/compare/v15.0.0...v15.0.1-dev.1) (2023-09-20) + + +### Bug Fixes + +* Remove log management ([d51bc32](https://github.com/ReVanced/revanced-patcher/commit/d51bc32e37a865194c3825471085b3ccf8c78421)) + # [15.0.0](https://github.com/ReVanced/revanced-patcher/compare/v14.2.2...v15.0.0) (2023-09-18) diff --git a/gradle.properties b/gradle.properties index 3a09a65e..39427f14 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ org.gradle.parallel = true org.gradle.caching = true kotlin.code.style = official -version = 15.0.0 +version = 15.0.1-dev.1 diff --git a/revanced-patcher/src/main/kotlin/app/revanced/patcher/Patcher.kt b/revanced-patcher/src/main/kotlin/app/revanced/patcher/Patcher.kt index 3128b208..30abe4b2 100644 --- a/revanced-patcher/src/main/kotlin/app/revanced/patcher/Patcher.kt +++ b/revanced-patcher/src/main/kotlin/app/revanced/patcher/Patcher.kt @@ -9,8 +9,6 @@ import kotlinx.coroutines.flow.flow import java.io.Closeable import java.io.File import java.util.function.Supplier -import java.util.logging.Level -import java.util.logging.LogManager import java.util.logging.Logger /** @@ -30,18 +28,6 @@ class Patcher( val context = PatcherContext(options) init { - LogManager.getLogManager().let { manager -> - // Disable root logger. - manager.getLogger("").level = Level.OFF - - // Enable ReVanced logging only. - manager.loggerNames - .toList() - .filter { it.startsWith("app.revanced") } - .map { manager.getLogger(it) } - .forEach { it.level = Level.INFO } - } - context.resourceContext.decodeResources(ResourceContext.ResourceDecodingMode.MANIFEST_ONLY) } diff --git a/revanced-patcher/src/main/kotlin/app/revanced/patcher/data/BytecodeContext.kt b/revanced-patcher/src/main/kotlin/app/revanced/patcher/data/BytecodeContext.kt index 439b4307..34a694ec 100644 --- a/revanced-patcher/src/main/kotlin/app/revanced/patcher/data/BytecodeContext.kt +++ b/revanced-patcher/src/main/kotlin/app/revanced/patcher/data/BytecodeContext.kt @@ -96,7 +96,7 @@ class BytecodeContext internal constructor(private val options: PatcherOptions) internal inner class Integrations : MutableList by mutableListOf(), Flushable { /** * Whether to merge integrations. - * True when any supplied [Patch] is annotated with [RequiresIntegrations]. + * Set to true, if the field requiresIntegrations of any supplied [Patch] is true. */ var merge = false