mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-22 01:37:34 +01:00
ResConfigFlags: uniquely name every errorous flags.
This commit is contained in:
parent
db2614831d
commit
0c1a55cb31
@ -267,7 +267,7 @@ public class ResConfigFlags {
|
|||||||
ret.append("-v").append(sdkVersion);
|
ret.append("-v").append(sdkVersion);
|
||||||
}
|
}
|
||||||
if (isInvalid) {
|
if (isInvalid) {
|
||||||
ret.append("-[ERR]");
|
ret.append("-ERR" + sErrCounter++);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret.toString();
|
return ret.toString();
|
||||||
@ -312,6 +312,12 @@ public class ResConfigFlags {
|
|||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// TODO: Dirty static hack. This counter should be a part of ResPackage,
|
||||||
|
// but it would be hard right now and this feature is very rarely used.
|
||||||
|
private static int sErrCounter = 0;
|
||||||
|
|
||||||
|
|
||||||
public final static byte ORIENTATION_ANY = 0;
|
public final static byte ORIENTATION_ANY = 0;
|
||||||
public final static byte ORIENTATION_PORT = 1;
|
public final static byte ORIENTATION_PORT = 1;
|
||||||
public final static byte ORIENTATION_LAND = 2;
|
public final static byte ORIENTATION_LAND = 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user