commit | c085b3eeebf13ebdfb197444747354a1d6eced2b | [log] [tgz] |
---|---|---|
author | Jeff Hamilton <jham@android.com> | Fri Jun 04 13:15:57 2010 -0500 |
committer | Jeff Hamilton <jham@android.com> | Fri Jun 04 15:24:31 2010 -0500 |
tree | 0a4428f276ecee666439798b6e344c2b8c7504db | |
parent | 7109133e650b0b1a69690bda620e64893c027d95 [diff] |
Avoid long running upgrade work on the main thread Pre-froyo devices didn't use the shared preferences to track the locale, so they will always return null for the "providerLocale" even if the database has thousands of contacts present so it's not safe to run the setLocale() work from the main thread. Report locale change time in uptimeMillis() so the report is correct across clock changes. Bug: 2722569 Change-Id: I493596d657f5e02fca8174d998da1fae1115728d