summaryrefslogtreecommitdiff
path: root/tools/aapt/ResourceTable.h
diff options
context:
space:
mode:
authorRobert Greenwalt <robdroid@android.com>2009-06-05 15:59:15 -0700
committerRobert Greenwalt <robdroid@android.com>2009-06-05 16:09:24 -0700
commit1aa8170e6a448afad86e5d62927d3b8ca4cd9707 (patch)
tree911e494fa0ab405fa8c5cb4271f8a0907a583d24 /tools/aapt/ResourceTable.h
parent5d16ac5eb6c4a468cabc39bdd00eac1759993db5 (diff)
Add per-named-item overlay ability in res xml.
Fixes 1899451. Also errors out if you add a bag via an overlay (which would renumber resources). Note that you can still add elements within the bag as they are not issued resource IDs. So for example you can now modify the framework themes.xml file without copying the entire file. All bag types are now modifable except non-named bag types (how would you address which element to replace?): array string_array integer_array
Diffstat (limited to 'tools/aapt/ResourceTable.h')
-rw-r--r--tools/aapt/ResourceTable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/aapt/ResourceTable.h b/tools/aapt/ResourceTable.h
index 665232bb6d0d..20865eacda08 100644
--- a/tools/aapt/ResourceTable.h
+++ b/tools/aapt/ResourceTable.h
@@ -96,6 +96,7 @@ public:
const String16& name,
const String16& bagParent,
const ResTable_config* params = NULL,
+ bool overlay = false,
bool replace = false,
bool isId = false);