diff options
author | Mihai Nita <mnita@google.com> | 2019-03-26 13:47:45 -0700 |
---|---|---|
committer | Mihai Nita <mnita@google.com> | 2019-03-29 17:15:18 -0700 |
commit | d1a6521cc35fc882c9b4c5b31babd7748b445698 (patch) | |
tree | b1fa72782f535e72df99b2f99174fa0ba4d3a36e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e4329dc3ef4c8bc67effb61722019693e92d8518 (diff) |
Fix aapt2 pseudo-translating donottranslate* files
Bug: 126423638
Test: After building android doing this in the 'out' folder:
Test:
Test: ./soong/host/linux-x86/bin/aapt d --values resources \
Test: ./target/product/sailfish/system/product/priv-app/SystemUIGoogle/SystemUIGoogle.apk \
Test: | less
Test:
Test: search for `system_ui_aod_date_pattern` in the output, found this:
Test: (string8) "[éééḾḾḾð one two]"
Test: (string8) "<U+200F><U+202E>eeeMMMd<U+202C><U+200F>"
Test: (the en-XA and ar-XB pseudo-translated versions of the string)
Test:
Test: After the fix and rebuild the dump only finds the original English string ("eeeMMMd")
Test: Also flashed the image, switched to en-XA, and left the phone around for more than 24 hours.
Change-Id: I2fb7c5b5ee7d3d3200410593346682ed16559056
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions