mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 00:37:47 +00:00
COLLATE LOCALIZED seems to imply COLLATE NOCASE
// FREEBIE
This commit is contained in:
parent
31224014cc
commit
cba0ff7750
@ -147,7 +147,7 @@ public class ContactsDatabase {
|
||||
ContactsContract.CommonDataKinds.Phone.TYPE,
|
||||
ContactsContract.CommonDataKinds.Phone.LABEL};
|
||||
|
||||
String sort = ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME + " COLLATE LOCALIZED NOCASE ASC";
|
||||
String sort = ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME + " COLLATE LOCALIZED ASC";
|
||||
|
||||
Map<String, String> projectionMap = new HashMap<String, String>() {{
|
||||
put(ID_COLUMN, ContactsContract.CommonDataKinds.Phone._ID);
|
||||
@ -181,7 +181,7 @@ public class ContactsDatabase {
|
||||
ContactsContract.Contacts.DISPLAY_NAME,
|
||||
ContactsContract.Data.DATA1};
|
||||
|
||||
String sort = ContactsContract.Contacts.DISPLAY_NAME + " COLLATE LOCALIZED NOCASE ASC";
|
||||
String sort = ContactsContract.Contacts.DISPLAY_NAME + " COLLATE LOCALIZED ASC";
|
||||
|
||||
Map<String, String> projectionMap = new HashMap<String, String>(){{
|
||||
put(ID_COLUMN, ContactsContract.Data._ID);
|
||||
|
Loading…
x
Reference in New Issue
Block a user