mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-28 04:02:19 -05:00
Lift our column list for "load messages" out to the LocalStore, as the
first part of lifting "get messages" out of "folder" for search
This commit is contained in:
parent
ddd6db3a7c
commit
6dcb10add6
@ -49,6 +49,14 @@ public class LocalStore extends Store implements Serializable
|
|||||||
HEADERS_TO_SAVE.add("References");
|
HEADERS_TO_SAVE.add("References");
|
||||||
HEADERS_TO_SAVE.add("X-User-Agent");
|
HEADERS_TO_SAVE.add("X-User-Agent");
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
* a String containing the columns getMessages expects to work with
|
||||||
|
* in the correct order.
|
||||||
|
*/
|
||||||
|
static private String GET_MESSAGES_COLS =
|
||||||
|
"subject, sender_list, date, uid, flags, id, to_list, cc_list, "
|
||||||
|
+ "bcc_list, reply_to_list, attachment_count, internal_date, message_id, folder_id ";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param uri local://localhost/path/to/database/uuid.db
|
* @param uri local://localhost/path/to/database/uuid.db
|
||||||
@ -561,15 +569,6 @@ public class LocalStore extends Store implements Serializable
|
|||||||
private String prefId = null;
|
private String prefId = null;
|
||||||
private String mPushState = null;
|
private String mPushState = null;
|
||||||
|
|
||||||
/*
|
|
||||||
* a String containing the columns getMessages expects to work with
|
|
||||||
* in the correct order.
|
|
||||||
*/
|
|
||||||
private String GET_MESSAGES_COLS =
|
|
||||||
|
|
||||||
"subject, sender_list, date, uid, flags, id, to_list, cc_list, "
|
|
||||||
+ "bcc_list, reply_to_list, attachment_count, internal_date, message_id ";
|
|
||||||
|
|
||||||
|
|
||||||
public LocalFolder(String name)
|
public LocalFolder(String name)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user