summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorJoachim Sauer <jsauer@google.com>2016-05-26 11:29:46 +0100
committerJoachim Sauer <jsauer@google.com>2016-05-26 15:29:29 +0100
commitf59264d36afd660c69d3b9dff46bc35d57e7c94f (patch)
treef529edac142b15b3ddbcc42613b1f1a9190ad160 /include/ScopedJavaUnicodeString.h
parent13659d2d064672bb89cc41ccc75eeb89096166b4 (diff)
Sync default timezone to ICU.
When java.util.TimeZone.setDefault() is called (either by client code or from ActivityThread.updateTimeZone due to ACTION_TIMEZONE_CHANGED) we need to notify android.icu.util.TimeZone of this change, as it keeps a cached android.icu.util.TimeZone object to represent that default value. android.icu.util.TimeZone.setTimeZone would be the obvious candidate here. Unfortunately that method was hidden to have a single consistent way to set the timezone and tries to do some extra work that is undesireable on Android. To avoid potential loops of ICU setDefault calling JDK setDefault and vice versa, we remove the ICU setDefault. Bug: 28949992 Change-Id: I46a59551864cd2b780f72d28e01a0c39daf3aef5
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions