From 804c8eff911e2236c530c7b792ecb61c95a568aa Mon Sep 17 00:00:00 2001 From: bagipro <15173437+bagipro@users.noreply.github.com> Date: Fri, 30 Oct 2020 20:28:46 +0300 Subject: [PATCH] fix(res): fixes deobfuscated resource text files saving (PR #1004) Co-authored-by: sergey-wowwow --- jadx-core/src/main/java/jadx/api/ResourcesLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jadx-core/src/main/java/jadx/api/ResourcesLoader.java b/jadx-core/src/main/java/jadx/api/ResourcesLoader.java index d8488ab51ab..4e3d9248b8c 100644 --- a/jadx-core/src/main/java/jadx/api/ResourcesLoader.java +++ b/jadx-core/src/main/java/jadx/api/ResourcesLoader.java @@ -96,7 +96,7 @@ private static ResContainer loadContent(JadxDecompiler jadxRef, ResourceFile rf, case MANIFEST: case XML: ICodeInfo content = jadxRef.getXmlParser().parse(inputStream); - return ResContainer.textResource(rf.getOriginalName(), content); + return ResContainer.textResource(rf.getDeobfName(), content); case ARSC: return new ResTableParser(jadxRef.getRoot()).decodeFiles(inputStream);