3f0b7b87cd41b5a9cd631b6fcf29ea5025905e18 |
|
12-Aug-2009 |
Jeff Sharkey <jsharkey@android.com> |
Use AccountManager for details, handle INSERT cases. Connected Sources to use AccountManager and inflate details through registered sync adapters. Each ContactsSource now has a "level" of inflation, since deeper levels aren't always needed right away. Several places we're making blocking calls into other processes that are tied to the UI thread. (This would take a large effort to fix.) Turned most background Edit activity operations into WeakAsyncTask, which helps finish background tasks while preventing leaked Contexts. This allows us to hold the UI thread while saving, but release it just before ANR, allowing the background operation to complete. Enabled INSERT case, both from overall list and when already editing an aggregate. Finally, cleaned up the manifest intent-filters to directly match authorities.
/packages/apps/Contacts/src/com/android/contacts/util/EmptyService.java
|