mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
parent
7fcd9c36bf
commit
1b97756b05
@ -147,7 +147,7 @@ public class ContactsDatabase {
|
|||||||
ContactsContract.CommonDataKinds.Phone.TYPE,
|
ContactsContract.CommonDataKinds.Phone.TYPE,
|
||||||
ContactsContract.CommonDataKinds.Phone.LABEL};
|
ContactsContract.CommonDataKinds.Phone.LABEL};
|
||||||
|
|
||||||
String sort = ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME + " COLLATE NOCASE ASC";
|
String sort = ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME + " COLLATE LOCALIZED NOCASE ASC";
|
||||||
|
|
||||||
Map<String, String> projectionMap = new HashMap<String, String>() {{
|
Map<String, String> projectionMap = new HashMap<String, String>() {{
|
||||||
put(ID_COLUMN, ContactsContract.CommonDataKinds.Phone._ID);
|
put(ID_COLUMN, ContactsContract.CommonDataKinds.Phone._ID);
|
||||||
@ -181,7 +181,7 @@ public class ContactsDatabase {
|
|||||||
ContactsContract.Contacts.DISPLAY_NAME,
|
ContactsContract.Contacts.DISPLAY_NAME,
|
||||||
ContactsContract.Data.DATA1};
|
ContactsContract.Data.DATA1};
|
||||||
|
|
||||||
String sort = ContactsContract.Contacts.DISPLAY_NAME + " COLLATE NOCASE ASC";
|
String sort = ContactsContract.Contacts.DISPLAY_NAME + " COLLATE LOCALIZED NOCASE ASC";
|
||||||
|
|
||||||
Map<String, String> projectionMap = new HashMap<String, String>(){{
|
Map<String, String> projectionMap = new HashMap<String, String>(){{
|
||||||
put(ID_COLUMN, ContactsContract.Data._ID);
|
put(ID_COLUMN, ContactsContract.Data._ID);
|
||||||
|
Loading…
Reference in New Issue
Block a user