mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-06 10:05:54 +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() {
|
||||
StringBuilder ret = new StringBuilder();
|
||||
if (mcc != 0) {
|
||||
ret.append("-mcc").append(String.format("%03d", mcc));
|
||||
if (mcc != MNC_ZERO) {
|
||||
ret.append("-mcc").append(String.format("%03d", mcc));
|
||||
if (mnc != 0) {
|
||||
if (mnc != 0 && mnc != -1) {
|
||||
ret.append("-mnc").append(mnc);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user