From cba0ff7750fbb44724804ae7dd943e5390a0244b Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Sat, 30 Jan 2016 16:08:18 -0800 Subject: [PATCH] COLLATE LOCALIZED seems to imply COLLATE NOCASE // FREEBIE --- src/org/thoughtcrime/securesms/contacts/ContactsDatabase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/thoughtcrime/securesms/contacts/ContactsDatabase.java b/src/org/thoughtcrime/securesms/contacts/ContactsDatabase.java index c4f5107999..35ccba3f63 100644 --- a/src/org/thoughtcrime/securesms/contacts/ContactsDatabase.java +++ b/src/org/thoughtcrime/securesms/contacts/ContactsDatabase.java @@ -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 projectionMap = new HashMap() {{ 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 projectionMap = new HashMap(){{ put(ID_COLUMN, ContactsContract.Data._ID);