From 173d85bf84337c7281cb1f4497daf5d7093cc6e4 Mon Sep 17 00:00:00 2001 From: Markslin Date: Wed, 25 Oct 2023 01:47:17 +0800 Subject: [PATCH] fix(res): resolve resourceIds reuse issue (PR #2037) Co-authored-by: mingyinsun --- jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java b/jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java index 8ce903dedaa..b2a1f7d393b 100644 --- a/jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java +++ b/jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java @@ -70,6 +70,7 @@ public BinaryXMLParser(RootNode rootNode) { } public synchronized ICodeInfo parse(InputStream inputStream) throws IOException { + resourceIds = null; is = new ParserStream(inputStream); if (!isBinaryXml()) { return ResourcesLoader.loadToCodeWriter(inputStream);