From 4102f43b8a9473fd0ee96c5d4fb8f6e9b4e30e70 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 2 Jan 2023 08:50:08 +0100 Subject: [PATCH] feat: do not fix methods or methods in class merger --- src/main/kotlin/app/revanced/patcher/util/ClassMerger.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patcher/util/ClassMerger.kt b/src/main/kotlin/app/revanced/patcher/util/ClassMerger.kt index c1ffd3c..abac334 100644 --- a/src/main/kotlin/app/revanced/patcher/util/ClassMerger.kt +++ b/src/main/kotlin/app/revanced/patcher/util/ClassMerger.kt @@ -33,8 +33,8 @@ internal object ClassMerger { * @param logger A logger. */ fun ClassDef.merge(otherClass: ClassDef, context: PatcherContext, logger: Logger? = null) = this - .fixFieldAccess(otherClass, logger) - .fixMethodAccess(otherClass, logger) + //.fixFieldAccess(otherClass, logger) + //.fixMethodAccess(otherClass, logger) .addMissingFields(otherClass, logger) .addMissingMethods(otherClass, logger) .publicize(otherClass, context, logger)