Fix contacts accent display
This commit is contained in:
parent
5e105aec46
commit
0004438480
2 changed files with 2 additions and 2 deletions
|
@ -381,7 +381,7 @@ public class ChatActivity extends FragmentActivity implements OnClickListener, S
|
|||
}
|
||||
|
||||
public void dispayMessageList() {
|
||||
adapter = new ChatMessageAdapter(this, chatRoom.getHistory());
|
||||
adapter = new ChatMessageAdapter(this.getApplicationContext(), chatRoom.getHistory());
|
||||
messagesList.setAdapter(adapter);
|
||||
}
|
||||
|
||||
|
|
|
@ -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 NOCASE ASC");
|
||||
Cursor cursor = cr.query(Data.CONTENT_URI, projection, query, null, Data.DISPLAY_NAME + " COLLATE UNICODE ASC");
|
||||
|
||||
if (!shouldGroupBy || cursor == null) {
|
||||
return cursor;
|
||||
|
|
Loading…
Reference in a new issue