Sort message (conversation) list properly
Change-Id: Id208890abf4c646fe8eba01bbfe22de35c610e3c
This commit is contained in:
parent
bdf32afa64
commit
bb760d73f0
@ -2865,7 +2865,8 @@ outer:
|
|||||||
private String genQueryMailboxMessages(String[] uiProjection) {
|
private String genQueryMailboxMessages(String[] uiProjection) {
|
||||||
StringBuilder sb = genSelect(sMessageListMap, uiProjection);
|
StringBuilder sb = genSelect(sMessageListMap, uiProjection);
|
||||||
// Make constant
|
// Make constant
|
||||||
sb.append(" FROM " + Message.TABLE_NAME + " WHERE " + Message.MAILBOX_KEY + "=?");
|
sb.append(" FROM " + Message.TABLE_NAME + " WHERE " + Message.MAILBOX_KEY + "=? ORDER BY " +
|
||||||
|
MessageColumns.TIMESTAMP + " DESC");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user