summaryrefslogtreecommitdiff
path: root/tools/aapt/ResourceTable.cpp
diff options
context:
space:
mode:
author Narayan Kamath <narayan@google.com> 2014-02-17 11:06:38 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2014-02-17 11:06:38 +0000
commit8c1fc83445f8dce7e6d0789feeed8bf98d33bf01 (patch)
treeb9eae6651529003e33abaea6a3f18fd17266fb42 /tools/aapt/ResourceTable.cpp
parent982931c72b6cd00c5eea28efc4b086f47f7aca17 (diff)
parent28879bbfe89dc4bf2067a7183975ecffb82f68e6 (diff)
am 28879bbf: am be57fca4: Merge "Extended locales in AAPT / AssetManager."
* commit '28879bbfe89dc4bf2067a7183975ecffb82f68e6': Extended locales in AAPT / AssetManager.
Diffstat (limited to 'tools/aapt/ResourceTable.cpp')
-rw-r--r--tools/aapt/ResourceTable.cpp4
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;