diff options
author | Victor Chang <vichang@google.com> | 2018-01-08 20:27:44 +0000 |
---|---|---|
committer | Victor Chang <vichang@google.com> | 2018-01-10 14:25:26 +0000 |
commit | 3856e2db6b1beb1a095d810d10b920f3ae7d5c07 (patch) | |
tree | 6ed627e1b7c5a146466f1533b79ea5f593e14cce /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d74d722fb21132887974e1cf52bc6584555422a5 (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
Merged-In: I86b0126f6df62ed5b6081cabdb55487e7145ade0
(cherry picked from commit 98b16b6f437d9ae5fc6b81d6dbe8de279dccfecf)
Change-Id: Ic7cf70439658430c0154459f3ac695f24c99fc5d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions