Skip to content

Commit

Permalink
fix(res): fixes deobfuscated resource text files saving (PR #1004)
Browse files Browse the repository at this point in the history
Co-authored-by: sergey-wowwow <bugi@MacBook-Pro.local>
  • Loading branch information
bagipro and sergey-wowwow authored Oct 30, 2020
1 parent aec8ebe commit 804c8ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jadx-core/src/main/java/jadx/api/ResourcesLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 804c8ef

Please # to comment.