Show tab icons in view activity.
-Add an asynchronous request api to Sources, to allow for
asynchronous binding of autheticator data to the Sources object. The old
getInstance() api has been changed to getPartialInstance(), as not all
clients of Sources need the authenticator data bound.
-BaseContactProvider uses Sources to get the source icons. This behavior
still needs to be added to EditContactActivity.
diff --git a/src/com/android/contacts/DisplayGroupsActivity.java b/src/com/android/contacts/DisplayGroupsActivity.java
index 269ed0b..6da2531 100644
--- a/src/com/android/contacts/DisplayGroupsActivity.java
+++ b/src/com/android/contacts/DisplayGroupsActivity.java
@@ -16,13 +16,14 @@
package com.android.contacts;
-import com.android.contacts.NotifyingAsyncQueryHandler.QueryCompleteListener;
+import com.android.contacts.NotifyingAsyncQueryHandler.AsyncQueryListener;
import android.app.ExpandableListActivity;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Context;
+import android.content.EntityIterator;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.content.pm.PackageManager;
@@ -59,7 +60,7 @@
* select which ones they want to be visible.
*/
public final class DisplayGroupsActivity extends ExpandableListActivity implements
- QueryCompleteListener, OnItemClickListener {
+ AsyncQueryListener, OnItemClickListener {
private static final String TAG = "DisplayGroupsActivity";
public interface Prefs {
@@ -631,4 +632,8 @@
}
+ public void onQueryEntitiesComplete(int token, Object cookie, EntityIterator iterator) {
+ // Emtpy
+ }
+
}