diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-03-16 16:54:23 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2017-03-28 19:16:11 +0000 |
commit | cf1f1d9128853f0fa0cef657e2bbb7bf6904c732 (patch) | |
tree | 68e76fbe66623c18408fccb2c8c190cc0a760f49 /tools/aapt/ResourceTable.h | |
parent | 3ab5c0173a7371c1757c52029cde5f4f84d3bd22 (diff) |
AAPT: Version <adaptive-icon> to v26
Bug: 35908647
Test: manual
Change-Id: Ic8f43efe34385192fbab18675eb5898ed80912a5
Diffstat (limited to 'tools/aapt/ResourceTable.h')
-rw-r--r-- | tools/aapt/ResourceTable.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/aapt/ResourceTable.h b/tools/aapt/ResourceTable.h index cf1e992ec330..aff22d4d1364 100644 --- a/tools/aapt/ResourceTable.h +++ b/tools/aapt/ResourceTable.h @@ -203,6 +203,9 @@ public: size_t numLocalResources() const; bool hasResources() const; + bool versionForCompat(const Bundle* bundle, const String16& resourceName, + const sp<AaptFile>& file, const sp<XMLNode>& root); + status_t modifyForCompat(const Bundle* bundle); status_t modifyForCompat(const Bundle* bundle, const String16& resourceName, @@ -431,6 +434,10 @@ public: mEntries.add(config, entry); } + void removeEntry(const ResTable_config& config) { + mEntries.removeItem(config); + } + const DefaultKeyedVector<ConfigDescription, sp<Entry> >& getEntries() const { return mEntries; } private: const String16 mName; |