commit | d782028823a6f5d7948f00976560ebfbfc039b28 | [log] [tgz] |
---|---|---|
author | Victor Chang <vichang@google.com> | Tue Mar 10 17:37:52 2020 +0000 |
committer | Victor Chang <vichang@google.com> | Thu Mar 12 12:00:28 2020 +0000 |
tree | beacc3cd9c6b9ac387f5e663774626d89780550e | |
parent | 67b3fa6721cb4ce40a114e55e74c13f87b8071e7 [diff] |
Move yesterday/today Strings from LocaleData into a new ICU class The strings are used by android.webkit.DateSorter only, but loading the data in every LocaleData.get bares a cost in both memory and load time. Now loads the data only when DateSorter is initialized. Bug: 138994281 Bug: 144560585 Test: atest CtsLibcoreTestCases:libcore.libcore.icu.LocaleDataTest Change-Id: I19efc3e068ec81e3276b6666aa0e5ba272e28dee