OSDN Git Service

Set the default locale list when it is changed.
authorSeigo Nonaka <nona@google.com>
Fri, 22 Jan 2016 08:22:11 +0000 (17:22 +0900)
committerRoozbeh Pournader <roozbeh@google.com>
Fri, 22 Jan 2016 18:13:23 +0000 (18:13 +0000)
commitcada57a57bed6fb79a318ddf3cf0a09cd038c034
tree87ad6d1ca8c873b5ae52c0ce2061298fee5b7c60
parent60965d2271b9dfa927b35fed2e5229a0f6d4c2ee
Set the default locale list when it is changed.

When the system language is changed by the Settings app, we need to call
LocaleList.setDefault() to change the default locale list
since components like TextView should be able to assume that
LocaleList.getDefault() returns the latest system locale list.

BUG: 26731035
Change-Id: I482567476e1b14cd9b4716343183627f81d96ace
core/java/android/app/ActivityThread.java
core/java/android/app/ResourcesManager.java