diff options
author | Elliott Hughes <enh@google.com> | 2014-04-18 15:56:46 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-04-18 15:56:46 -0700 |
commit | 56ca82191231f3aba1132e3db06e7e09a10ec6dc (patch) | |
tree | bc1fb58074d536961b71686fec951fb28595fdd6 /tools/aapt/Command.cpp | |
parent | 235fd3c9effc63643db356a593e7f77f220a5f4c (diff) | |
parent | ec42199a71c8309a431c22ee152806736c862c4b (diff) |
resolved conflicts for merge of ec42199a to klp-modular-dev-plus-aosp
Change-Id: I9ecd5d51be4d073ab93dbb0bd60097735e76bf94
Diffstat (limited to 'tools/aapt/Command.cpp')
-rw-r--r-- | tools/aapt/Command.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index fe8bb688e172..34292fe4c5b3 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/Command.cpp @@ -1909,14 +1909,17 @@ int doPackage(Bundle* bundle) FILE* fp; String8 dependencyFile; - // -c zz_ZZ means do pseudolocalization + // -c en_XA or/and ar_XB means do pseudolocalization ResourceFilter filter; err = filter.parse(bundle->getConfigurations()); if (err != NO_ERROR) { goto bail; } if (filter.containsPseudo()) { - bundle->setPseudolocalize(true); + bundle->setPseudolocalize(bundle->getPseudolocalize() | PSEUDO_ACCENTED); + } + if (filter.containsPseudoBidi()) { + bundle->setPseudolocalize(bundle->getPseudolocalize() | PSEUDO_BIDI); } N = bundle->getFileSpecCount(); |