Add rawFolders column to conversation.
Can be left null if the provider does not wish a conversation to display
its associated folder(s)
otherwise this is a list of serialzied folder information
Change-Id: I0cc1dc168efea578a51ef4eefb3f0149eca08806
diff --git a/src/com/android/mail/providers/UIProvider.java b/src/com/android/mail/providers/UIProvider.java
index fc23f16..211f458 100644
--- a/src/com/android/mail/providers/UIProvider.java
+++ b/src/com/android/mail/providers/UIProvider.java
@@ -508,7 +508,8 @@
ConversationColumns.PRIORITY,
ConversationColumns.READ,
ConversationColumns.STARRED,
- ConversationColumns.FOLDER_LIST
+ ConversationColumns.FOLDER_LIST,
+ ConversationColumns.RAW_FOLDERS
};
// These column indexes only work when the caller uses the
@@ -528,6 +529,7 @@
public static final int CONVERSATION_READ_COLUMN = 12;
public static final int CONVERSATION_STARRED_COLUMN = 13;
public static final int CONVERSATION_FOLDER_LIST_COLUMN = 14;
+ public static final int CONVERSATION_RAW_FOLDERS_COLUMN = 15;
public static final class ConversationSendingState {
public static final int OTHER = 0;
@@ -616,11 +618,18 @@
public static String STARRED = "starred";
/**
- * This string column contains a csv of all folders associated with this
+ * This string column contains a csv of all folder uris associated with this
* conversation
*/
public static final String FOLDER_LIST = "folderList";
+ /**
+ * This string column contains a serialized list of all folders
+ * separated by a "," that are associated with this conversation. The
+ * folders should be only those that the provider wants to have
+ * displayed.
+ */
+ public static final String RAW_FOLDERS = null;
private ConversationColumns() {
}
}