OSDN Git Service

Delay updating of Contacts.IN_VISIBLE_GROUP until finished.
authorJeff Sharkey <jsharkey@android.com>
Thu, 24 Sep 2009 10:10:06 +0000 (03:10 -0700)
committerJeff Sharkey <jsharkey@android.com>
Thu, 24 Sep 2009 10:19:28 +0000 (03:19 -0700)
commit22678e774a90943c33be27853ca42f9b8bb73d07
tree0108c81b3cac599a8bf5d3553365ede4fd1ff64f
parentedb54bc2bc74a2c6be8e51dfdd0f1ac26ffcf3e0
Delay updating of Contacts.IN_VISIBLE_GROUP until finished.

To help prevent ANRs, this change take advantage of new
query parameters that delay updating until explicitly
requested.  When the user finishes changing groups and
presses back, we show a progress dialog while we force a
single visible update pass in the background.

Fixes http://b/2075275
res/values/strings.xml
src/com/android/contacts/ui/DisplayGroupsActivity.java