Fix lower case contacts at the end of the contacts list
This commit is contained in:
parent
ec41e5c78a
commit
736755d46a
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ public class ApiFivePlus {
|
||||||
String[] projection = new String[] { Data.CONTACT_ID, Data.DISPLAY_NAME };
|
String[] projection = new String[] { Data.CONTACT_ID, Data.DISPLAY_NAME };
|
||||||
|
|
||||||
String query = Data.DISPLAY_NAME + " IS NOT NULL AND (" + select + ")";
|
String query = Data.DISPLAY_NAME + " IS NOT NULL AND (" + select + ")";
|
||||||
Cursor cursor = cr.query(Data.CONTENT_URI, projection, query, null, Data.DISPLAY_NAME + " ASC");
|
Cursor cursor = cr.query(Data.CONTENT_URI, projection, query, null, Data.DISPLAY_NAME + " COLLATE NOCASE ASC");
|
||||||
|
|
||||||
if (!shouldGroupBy || cursor == null) {
|
if (!shouldGroupBy || cursor == null) {
|
||||||
return cursor;
|
return cursor;
|
||||||
|
|
Loading…
Reference in a new issue