mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 09:17:35 +01:00
added xxxhdpi, added DENSITY_400, added MNC_ZERO
This commit is contained in:
parent
2ef25fe5e2
commit
bdb718f8a9
@ -141,9 +141,11 @@ public class ResConfigFlags {
|
||||
private String generateQualifiers() {
|
||||
StringBuilder ret = new StringBuilder();
|
||||
if (mcc != 0) {
|
||||
ret.append("-mcc").append(String.format("%03d", mcc));
|
||||
if (mnc != 0) {
|
||||
ret.append("-mnc").append(mnc);
|
||||
if (mcc != MNC_ZERO) {
|
||||
ret.append("-mcc").append(String.format("%03d", mcc));
|
||||
if (mnc != 0) {
|
||||
ret.append("-mnc").append(mnc);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (language[0] != '\00') {
|
||||
@ -257,6 +259,9 @@ public class ResConfigFlags {
|
||||
case DENSITY_XXHIGH:
|
||||
ret.append("-xxhdpi");
|
||||
break;
|
||||
case DENSITY_XXXHIGH:
|
||||
ret.append("-xxxhdpi");
|
||||
break;
|
||||
case DENSITY_NONE:
|
||||
ret.append("-nodpi");
|
||||
break;
|
||||
@ -409,12 +414,16 @@ public class ResConfigFlags {
|
||||
public final static int DENSITY_DEFAULT = 0;
|
||||
public final static int DENSITY_LOW = 120;
|
||||
public final static int DENSITY_MEDIUM = 160;
|
||||
public final static int DENSITY_400 = 190;
|
||||
public final static int DENSITY_TV = 213;
|
||||
public final static int DENSITY_HIGH = 240;
|
||||
public final static int DENSITY_XHIGH = 320;
|
||||
public final static int DENSITY_XXHIGH = 480;
|
||||
public final static int DENSITY_XXXHIGH = 640;
|
||||
public final static int DENSITY_NONE = 0xFFFF;
|
||||
|
||||
public final static int MNC_ZERO = 0xFFFF;
|
||||
|
||||
public final static short MASK_LAYOUTDIR = 0xc0;
|
||||
public final static short SCREENLAYOUT_LAYOUTDIR_ANY = 0x00;
|
||||
public final static short SCREENLAYOUT_LAYOUTDIR_LTR = 0x40;
|
||||
|
Loading…
x
Reference in New Issue
Block a user