summaryrefslogtreecommitdiff
path: root/tools/aapt/ResourceTable.h
diff options
context:
space:
mode:
author Adam Lesinski <adamlesinski@google.com> 2016-02-25 23:13:08 +0000
committer Adam Lesinski <adamlesinski@google.com> 2016-02-25 23:13:08 +0000
commit525db2489d8bb1204225e697171d3f18b6fc9695 (patch)
tree6c9f60b63d3671207434076861354c388f2ae811 /tools/aapt/ResourceTable.h
parentc25283b5e206ceae2aa6eb01877b79c3c1f0adfb (diff)
Revert "AAPT: Allow duplicate attribute definitions if identical"
This reverts commit c25283b5e206ceae2aa6eb01877b79c3c1f0adfb. Change-Id: I2f42a4360fa53c4333494afe0178dcec56d62d8e
Diffstat (limited to 'tools/aapt/ResourceTable.h')
-rw-r--r--tools/aapt/ResourceTable.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/aapt/ResourceTable.h b/tools/aapt/ResourceTable.h
index cf1e992ec330..4b7b3cdcef2b 100644
--- a/tools/aapt/ResourceTable.h
+++ b/tools/aapt/ResourceTable.h
@@ -571,18 +571,6 @@ public:
void getDensityVaryingResources(KeyedVector<Symbol, Vector<SymbolDefinition> >& resources);
- /**
- * Make an attribute with the specified format. If another attribute with the same name but
- * different format exists, this method returns false. If the name is not taken, or if the
- * format is identical, this returns true.
- */
- bool makeAttribute(const String16& package,
- const String16& name,
- const SourcePos& source,
- int32_t format,
- const String16& comment,
- bool appendComment);
-
private:
void writePublicDefinitions(const String16& package, FILE* fp, bool pub);
sp<Package> getPackage(const String16& package);