Loading src/com/android/contacts/GroupMemberLoader.java +8 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.contacts; import com.android.contacts.list.ContactListAdapter; import com.android.contacts.preference.ContactsPreferences; import android.content.Context; import android.content.CursorLoader; Loading Loading @@ -81,8 +82,14 @@ public final class GroupMemberLoader extends CursorLoader { setProjection(PROJECTION_DATA); setSelection(createSelection()); setSelectionArgs(createSelectionArgs()); ContactsPreferences prefs = new ContactsPreferences(context); if (prefs.getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { setSortOrder(Contacts.SORT_KEY_PRIMARY); } else { setSortOrder(Contacts.SORT_KEY_ALTERNATIVE); } } private Uri createUri() { Uri uri = Data.CONTENT_URI; Loading Loading
src/com/android/contacts/GroupMemberLoader.java +8 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.contacts; import com.android.contacts.list.ContactListAdapter; import com.android.contacts.preference.ContactsPreferences; import android.content.Context; import android.content.CursorLoader; Loading Loading @@ -81,8 +82,14 @@ public final class GroupMemberLoader extends CursorLoader { setProjection(PROJECTION_DATA); setSelection(createSelection()); setSelectionArgs(createSelectionArgs()); ContactsPreferences prefs = new ContactsPreferences(context); if (prefs.getSortOrder() == ContactsContract.Preferences.SORT_ORDER_PRIMARY) { setSortOrder(Contacts.SORT_KEY_PRIMARY); } else { setSortOrder(Contacts.SORT_KEY_ALTERNATIVE); } } private Uri createUri() { Uri uri = Data.CONTENT_URI; Loading