diff options
author | 2014-02-17 11:00:29 +0000 | |
---|---|---|
committer | 2014-02-17 11:00:30 +0000 | |
commit | be57fca41a731217010d9f92554cf48708b06ecf (patch) | |
tree | 7bedc0f6ce12d10aad0bb1ba3a75b9d3d12ad8cd /tools/aapt/ResourceTable.cpp | |
parent | 49024bacf63db39467e7f318c682ad771ec0de22 (diff) | |
parent | 788fa41482b9d398591b7db8b0b01839029611ad (diff) |
Merge "Extended locales in AAPT / AssetManager."
Diffstat (limited to 'tools/aapt/ResourceTable.cpp')
-rw-r--r-- | tools/aapt/ResourceTable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt/ResourceTable.cpp b/tools/aapt/ResourceTable.cpp index 6ced8b3f915a..38bf5402b040 100644 --- a/tools/aapt/ResourceTable.cpp +++ b/tools/aapt/ResourceTable.cpp @@ -1292,8 +1292,8 @@ status_t compileResourceFile(Bundle* bundle, curIsStyled = true; } else if (strcmp16(block.getElementName(&len), string16.string()) == 0) { // Note the existence and locale of every string we process - char rawLocale[16]; - curParams.getLocale(rawLocale); + char rawLocale[RESTABLE_MAX_LOCALE_LEN]; + curParams.getBcp47Locale(rawLocale); String8 locale(rawLocale); String16 name; String16 translatable; |