summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderThread.cpp
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-01-13 15:51:57 +0000
committerNarayan Kamath <narayan@google.com>2015-01-13 16:27:17 +0000
commitc63a16b8e46f2f3ecce6c548663cc3185f011fd6 (patch)
treefb8a608358ec30dbac17bc8358fdaaea5ef94af9 /libs/hwui/renderthread/RenderThread.cpp
parent71922de6c8e407ff24bb1a500cb53bb1a647c758 (diff)
Fix unexpected language changes on SIM card insertion.
There are two separate issues here that need to be fixed, both boil down to the fact that adding an imperative (userSetLocale) to the Configuration is a bad idea. Because of this: - We'd never persist the first user set configuration if it was en_US, because of an erroneous call to Configuration.setLocale. - ActivityManager.getConfiguration would sometimes return a Configuration with userSetLocale == true, which means callers with the right permissions would inadvertently persist a locale they didn't want to persist. bug: 18879010 Change-Id: Id330ffde9d2a6e516fd60edc33f5529df719c634
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions