summaryrefslogtreecommitdiff
path: root/tools/docs/crypto/crypto_docs.py
diff options
context:
space:
mode:
authorJoachim Sauer <jsauer@google.com>2017-03-24 15:39:15 +0000
committerJoachim Sauer <jsauer@google.com>2017-04-12 14:45:07 +0100
commitc7d1dedeae2837df17ffdc9d0d62730995ccce67 (patch)
tree8527ccf47d5f8a3c8ff29d70aa8917525d1a0f4b /tools/docs/crypto/crypto_docs.py
parentfa7476448a55741943c99991ddfe8e9aa8b110d7 (diff)
Change TimeZone.getDisplayName() to use ICU4J
TimeZone.getDisplayName() is one of the two remaining users of libcore.icu.TimeZoneNames. We want to limit the use of that class in favor of using ICU4J functionality directly. This commit changes getDisplayName() to use android.icu.text.TimeZoneNames instead. Coincidentally this also fixes a bug where non-canonical time zone IDs would never get a proper formatted name (they would return GMT+XX:XX format strings instead). Bug: 33259649 Bug: 33197219 Test: run cts -m CstLibcoreTestCases Change-Id: I1e8b3adf3e723752515a1b5a262f9060a84ac69d
Diffstat (limited to 'tools/docs/crypto/crypto_docs.py')
0 files changed, 0 insertions, 0 deletions