mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45:52 +01:00
ResConfigFlags: added zero-padding of MCC qualifiers.
MCC must be 3-digits long. Official documentation does not specify that, but aapt throws errors if you create e.g. values-mcc1 dir.
This commit is contained in:
parent
0bd967bacc
commit
f05f264182
@ -125,7 +125,7 @@ public class ResConfigFlags {
|
||||
private String generateQualifiers() {
|
||||
StringBuilder ret = new StringBuilder();
|
||||
if (mcc != 0) {
|
||||
ret.append("-mcc").append(mcc);
|
||||
ret.append("-mcc").append(String.format("%03d", mcc));
|
||||
if (mnc != 0) {
|
||||
ret.append("-mnc").append(mnc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user