mirror of
https://github.com/revanced/Apktool.git
synced 2024-08-28 18:16:41 +02:00
fix: rename duplicate attributes to not start with numeric
This commit is contained in:
parent
1452014992
commit
6d4e503b16
@ -37,7 +37,7 @@ public class ResResSpec {
|
||||
|
||||
ResResSpec resResSpec = type.getResSpecUnsafe(name);
|
||||
if (resResSpec != null) {
|
||||
cleanName = name + "_APKTOOL_DUPLICATENAME_" + id.toString();
|
||||
cleanName = String.format("APKTOOL_DUPLICATE_%s_%s", type.toString(), id.toString());
|
||||
} else {
|
||||
cleanName = ((name == null || name.isEmpty()) ? ("APKTOOL_DUMMYVAL_" + id.toString()) : name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user