Rename GroupMemberPickerFragment rawContactsIds
... and all associated ARG and KEY constants to
contactsIds, since that's what it really is. Also
* Share the selection clause between GroupMetaDataLoader
and GroupListLoader -- we were inconsistent in filtering
out auto add and favorites groups.
* Remove unsued groups methods:
- GroupMemberPicker.Listener#onGroupMembersSelected
- GroupUtil#bindPhoto
* Remove some obsolete comments, fix some others
Test: Manually create and edit editable and read-only groups
Change-Id: I9607225d1a61f8673b7d1461149ae30e253c781d
diff --git a/src/com/android/contacts/GroupMetaDataLoader.java b/src/com/android/contacts/GroupMetaDataLoader.java
index 8cdca2e..26cdb44 100644
--- a/src/com/android/contacts/GroupMetaDataLoader.java
+++ b/src/com/android/contacts/GroupMetaDataLoader.java
@@ -51,10 +51,8 @@
public final static int DELETED = 8;
public GroupMetaDataLoader(Context context, Uri groupUri) {
- super(context, ensureIsGroupUri(groupUri), COLUMNS,
- Groups.ACCOUNT_TYPE + " NOT NULL AND " + Groups.ACCOUNT_NAME + " NOT NULL AND "
- + Groups.DELETED + "=0",
- null, GroupUtil.getGroupsSortOrder());
+ super(context, ensureIsGroupUri(groupUri), COLUMNS, GroupListLoader.DEFAULT_SELECTION, null,
+ GroupUtil.getGroupsSortOrder());
}
/**