diff options
author | 2024-06-04 14:22:03 -0700 | |
---|---|---|
committer | 2024-07-12 13:29:55 -0700 | |
commit | 211bec2871da597f9f3fd81df7faffea1754437e (patch) | |
tree | cb65f77cf0dd3810f068efd20937b0745438ad12 /tools/aapt2/Resource.h | |
parent | a1c0fd0b31b799796295c648ae87c83d2e5ce470 (diff) |
First pass at flagged resources
This gets the main parts of resource flagging in place and the basic use
case of flagging with an xml attribute working.
Test: Automated
Bug: 329436914
Flag: EXEMPT Aconfig not supported on host tools
Change-Id: Id2b5ba450d05da00a922e98ca204b6e5aa6c6c24
Diffstat (limited to 'tools/aapt2/Resource.h')
-rw-r--r-- | tools/aapt2/Resource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/aapt2/Resource.h b/tools/aapt2/Resource.h index 7ba3277d2093..a274f047586c 100644 --- a/tools/aapt2/Resource.h +++ b/tools/aapt2/Resource.h @@ -69,6 +69,8 @@ enum class ResourceType { kXml, }; +enum class FlagStatus { NoFlag = 0, Disabled = 1, Enabled = 2 }; + android::StringPiece to_string(ResourceType type); /** |