am c1d56928
: Add a limit to the Conversation query
* commit 'c1d56928b2185e6a2643eea271a1fbd50e425ca2': Add a limit to the Conversation query
This commit is contained in:
commit
569038380d
@ -2272,7 +2272,8 @@ public class EmailProvider extends ContentProvider {
|
||||
if (unseenOnly) {
|
||||
sb.append("AND ").append(MessageColumns.FLAG_SEEN).append(" = 0 ");
|
||||
}
|
||||
sb.append("ORDER BY " + MessageColumns.TIMESTAMP + " DESC");
|
||||
sb.append("ORDER BY " + MessageColumns.TIMESTAMP + " DESC ");
|
||||
sb.append("LIMIT " + UIProvider.CONVERSATION_PROJECTION_QUERY_CURSOR_WINDOW_LIMT);
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user