Fixing an exception produced by the Display Groups UI.
diff --git a/src/com/android/providers/contacts/ContactsProvider2.java b/src/com/android/providers/contacts/ContactsProvider2.java
index 23e39aa..f481ddf 100644
--- a/src/com/android/providers/contacts/ContactsProvider2.java
+++ b/src/com/android/providers/contacts/ContactsProvider2.java
@@ -640,7 +640,7 @@
// Data, groups and contacts projection map for joins. _id comes from the data table
columns = new HashMap<String, String>();
columns.putAll(sDeprecatedRawContactsProjectionMap);
- columns.putAll(sDeprecatedDataGroupsProjectionMap);
+ columns.putAll(sDeprecatedDataGroupsProjectionMap);
columns.put(Data.RAW_CONTACT_ID, DataColumns.CONCRETE_RAW_CONTACT_ID);
sDataRawContactsGroupsProjectionMap = columns;
@@ -2406,7 +2406,7 @@
}
case GROUPS_SUMMARY: {
- qb.setTables(Tables.GROUPS_JOIN_PACKAGES_DATA_RAW_CONTACTS_CONTACTS);
+ qb.setTables(Tables.GROUPS_JOIN_PACKAGES);
qb.setProjectionMap(sGroupsSummaryProjectionMap);
groupBy = GroupsColumns.CONCRETE_ID;
break;