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}
6 files changed