diff options
author | 2015-04-30 17:40:46 -0700 | |
---|---|---|
committer | 2015-05-04 16:43:24 -0700 | |
commit | 6ff19664f9279023c96e5a65c3059e1ef4beac0f (patch) | |
tree | f193586403acb034359ffbba1f9211827918fe07 /tools/aapt2/BinaryResourceParser.h | |
parent | 24aad163bc88cb10d2275385e9afc3de7f342d65 (diff) |
AAPT2: Record public status in a more robust way
This allows us to store the source and comments of a resource's
public declaration and avoids issues where there is no default
configuration for a publicly declared resource (like with drawables
of various densities) and AAPT2 mistakenly took this as an error.
Change-Id: I07a2fe9f551daefcce842f205fb219d2fa453ebc
Diffstat (limited to 'tools/aapt2/BinaryResourceParser.h')
-rw-r--r-- | tools/aapt2/BinaryResourceParser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/aapt2/BinaryResourceParser.h b/tools/aapt2/BinaryResourceParser.h index 2ac02c98c078..32876cda04fc 100644 --- a/tools/aapt2/BinaryResourceParser.h +++ b/tools/aapt2/BinaryResourceParser.h @@ -66,6 +66,7 @@ private: bool idToName(Reference* reference); bool parsePackage(const android::ResChunk_header* chunk); + bool parsePublic(const android::ResChunk_header* chunk); bool parseTypeSpec(const android::ResChunk_header* chunk); bool parseType(const android::ResChunk_header* chunk); |