mirror of
https://github.com/revanced/Apktool.git
synced 2024-08-17 04:40:38 +02: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);
|
||||
}
|
||||
if (isInvalid) {
|
||||
ret.append("-[ERR]");
|
||||
ret.append("-ERR" + sErrCounter++);
|
||||
}
|
||||
|
||||
return ret.toString();
|
||||
@ -312,6 +312,12 @@ public class ResConfigFlags {
|
||||
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_PORT = 1;
|
||||
public final static byte ORIENTATION_LAND = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user