diff --git a/jadx-core/src/main/java/jadx/core/dex/visitors/MarkMethodsForInline.java b/jadx-core/src/main/java/jadx/core/dex/visitors/MarkMethodsForInline.java index 3486b0fff0d..0ac9368d46e 100644 --- a/jadx-core/src/main/java/jadx/core/dex/visitors/MarkMethodsForInline.java +++ b/jadx-core/src/main/java/jadx/core/dex/visitors/MarkMethodsForInline.java @@ -150,7 +150,7 @@ private static boolean fixVisibilityOfInlineCode(MethodNode mth, InsnNode insn) if (insnType == InsnType.INVOKE) { InvokeNode invoke = (InvokeNode) insn; MethodNode callMthNode = mth.root().resolveMethod(invoke.getCallMth()); - if (callMthNode != null) { + if (callMthNode != null && !callMthNode.root().getArgs().isRespectBytecodeAccModifiers()) { FixAccessModifiers.changeVisibility(callMthNode, newVisFlag); } return true;