mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-08 19:16:09 +01:00
handle MNC_ZERO correctly
This commit is contained in:
parent
6d5d889c27
commit
4b180bd13c
@ -141,9 +141,9 @@ public class ResConfigFlags {
|
|||||||
private String generateQualifiers() {
|
private String generateQualifiers() {
|
||||||
StringBuilder ret = new StringBuilder();
|
StringBuilder ret = new StringBuilder();
|
||||||
if (mcc != 0) {
|
if (mcc != 0) {
|
||||||
|
ret.append("-mcc").append(String.format("%03d", mcc));
|
||||||
if (mcc != MNC_ZERO) {
|
if (mcc != MNC_ZERO) {
|
||||||
ret.append("-mcc").append(String.format("%03d", mcc));
|
if (mnc != 0 && mnc != -1) {
|
||||||
if (mnc != 0) {
|
|
||||||
ret.append("-mnc").append(mnc);
|
ret.append("-mnc").append(mnc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user