Narayan Kamath 7dc8d32fd2 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

(cherry picked from commit c63a16b8e46f2f3ecce6c548663cc3185f011fd6)

Change-Id: I4d714eb1f75afc0a5bf4d53a374df4ed16e328bf
2015-01-15 11:50:55 +00:00
2014-12-01 23:47:37 +00:00
2014-11-10 17:23:02 -08:00
2014-11-26 09:08:40 -08:00
2015-01-07 15:07:16 -08:00
2014-12-10 19:49:59 +00:00
2015-01-07 09:40:58 +01:00
2014-09-12 22:16:17 -07:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%