Fix contacts order
This commit is contained in:
parent
3d0fcf0879
commit
f62d0aac70
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ public class ApiFivePlus {
|
|||
String[] projection = new String[] { Data.CONTACT_ID, Data.DISPLAY_NAME };
|
||||
|
||||
String query = Data.DISPLAY_NAME + " IS NOT NULL AND (" + select + ")";
|
||||
Cursor cursor = cr.query(Data.CONTENT_URI, projection, query, null, Data.DISPLAY_NAME + " COLLATE UNICODE ASC");
|
||||
Cursor cursor = cr.query(Data.CONTENT_URI, projection, query, null, " lower(" + Data.DISPLAY_NAME + ") COLLATE UNICODE ASC");
|
||||
|
||||
if (!shouldGroupBy || cursor == null) {
|
||||
return cursor;
|
||||
|
|
Loading…
Reference in a new issue