diff options
author | Victor Chang <vichang@google.com> | 2018-01-08 20:27:44 +0000 |
---|---|---|
committer | Victor Chang <vichang@google.com> | 2018-01-08 20:27:44 +0000 |
commit | 98b16b6f437d9ae5fc6b81d6dbe8de279dccfecf (patch) | |
tree | 61bf10e4d935f771dd301c9cca4141585f505843 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e6e9308d6ed37dd031f1589ac87f757e29cfc468 (diff) |
Add a new API android.icu.util.LocaleData
1. getDelimiter is useful to avoid quoted text in string resource
and reduce apk size
<string name="verbal_quote_string">“<xliff:g id="value"
example="Mountain">%1$s</xliff:g>”</string>
Two related methods, i.e. setNoSubstitute, getNoSubstitute, are used to
avoid using values in root locale
2. getMeasurementSystem, getPaperSize
Handful method to determine to use km or miles and paper size
Bug: 71706733
Test: android.icu.dev.test.util.LocaleDataTest
Change-Id: I86b0126f6df62ed5b6081cabdb55487e7145ade0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions