diff options
author | Adam Lesinski <adamlesinski@google.com> | 2014-03-20 18:04:57 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2014-03-20 18:14:48 -0700 |
commit | a01a9374fd386f3a8773528d7a49bc5315492dff (patch) | |
tree | 30857703034ba4ae65c917cac6a17c4a15c347c3 /tools/aapt/ResourceTable.h | |
parent | 40436a20c666c99287379838e737cc69ee10fd10 (diff) |
Reduce warning verbosity in aapt
- Attributed source of problems to the correct file.
- Only verify string localizations against valid
locales.
Bug:13140015
Change-Id: I9dabc5efa0510649caee8af0c8ebb803d6f48269
Diffstat (limited to 'tools/aapt/ResourceTable.h')
-rw-r--r-- | tools/aapt/ResourceTable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt/ResourceTable.h b/tools/aapt/ResourceTable.h index a3e066690fba..75005cd18f12 100644 --- a/tools/aapt/ResourceTable.h +++ b/tools/aapt/ResourceTable.h @@ -220,7 +220,7 @@ public: status_t assignResourceIds(); status_t addSymbols(const sp<AaptSymbols>& outSymbols = NULL); - void addLocalization(const String16& name, const String8& locale); + void addLocalization(const String16& name, const String8& locale, const SourcePos& src); status_t validateLocalizations(void); status_t flatten(Bundle*, const sp<AaptFile>& dest); @@ -551,7 +551,7 @@ private: Bundle* mBundle; // key = string resource name, value = set of locales in which that name is defined - map<String16, set<String8> > mLocalizations; + map<String16, map<String8, SourcePos> > mLocalizations; }; #endif |