Skip to content

Commit 255a875

Browse files
committed
chore: add a note regarding ENTRY_FLAG_FEATUREFLAG (#3993)
1 parent 8113bec commit 255a875

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

brut.apktool/apktool-lib/src/main/java/brut/androlib/res/decoder/BinaryResourceParser.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,14 @@ public class BinaryResourceParser {
5454
private static final int ENTRY_FLAG_COMPLEX = 0x0001;
5555
// If set, this resource has been declared public, so libraries are allowed to reference it.
5656
private static final int ENTRY_FLAG_PUBLIC = 0x0002;
57-
// If set, this is a weak resource and may be overriden by strong resources of the same name/type.
57+
// If set, this is a weak resource and may be overridden by strong resources of the same name/type.
5858
// This is only useful during linking with other resource tables.
5959
private static final int ENTRY_FLAG_WEAK = 0x0004;
60-
// If set, this is a compact entry with data type and value directly encoded in the this entry.
60+
// If set, this is a compact entry with data type and value directly encoded in the entry.
6161
private static final int ENTRY_FLAG_COMPACT = 0x0008;
62+
// If set, this resource relies on an android feature flag.
63+
// This should not be encountered in most cases (#3993)
64+
private static final int ENTRY_FLAG_FEATUREFLAG = 0x0010;
6265

6366
private static final int CONFIG_KNOWN_MAX_SIZE = 64;
6467

0 commit comments

Comments
 (0)