commit | ffb4fbf926444cc3aecd111c98d1521993272593 | [log] [tgz] |
---|---|---|
author | Jungshik Shin <[email protected]> | Wed Jun 28 22:07:30 2017 |
committer | Commit Bot <[email protected]> | Thu Jun 29 03:13:27 2017 |
tree | f7d3dc1a84c84064dbf0dc3ead85b2b78ca4ca05 | |
parent | 56151ab64d017acbe7de93c40e7b72374704e83a [diff] |
Detect the OS timezone using JNI ICU timezone detection on Android does not work properly for most timezones. [1] Use JNI to detect the OS timezone and set the ICU default timezone accordingly both on ICU initialization and on timezone change. This is to reland https://chromium-review.googlesource.com/c/512282 with a temporary suppression of StrictMode check for disk read for devices that skipped the set-up wizard. [1] http://bugs.icu-project.org/trac/ticket/13208 [email protected],[email protected],[email protected] BUG=chromium:722821, chromium:737475 TEST=Change the timezone on Android to a few different zones (e.g. Australia/Sydney, Asia/Seoul, Europe/Amstredam). At match what's chosen in Android settings. http: //jungshik.github.io/cr/bugs/722821.html , local tz should Change-Id: Ibc183295b46344d29f383851cf62697032e18777 Reviewed-on: https://chromium-review.googlesource.com/553717 Reviewed-by: Jungshik Shin <[email protected]> Reviewed-by: Yaron Friedman <[email protected]> Commit-Queue: Jungshik Shin <[email protected]> Cr-Commit-Position: refs/heads/master@{#483276}