Merge "Populate the snippet in ConversationInfo" into jb-ub-mail-ur10

This commit is contained in:
Tony Mantler 2013-10-08 16:22:57 +00:00 committed by Android (Google) Code Review
commit 805bc397bd

View File

@ -3662,6 +3662,8 @@ public class EmailProvider extends ContentProvider {
final int numMessages = getInt(getColumnIndex(ConversationColumns.NUM_MESSAGES));
final ConversationInfo conversationInfo = new ConversationInfo(numMessages);
conversationInfo.firstSnippet = getString(getColumnIndex(ConversationColumns.SNIPPET));
final boolean isRead = getInt(getColumnIndex(ConversationColumns.READ)) != 0;
final boolean isStarred = getInt(getColumnIndex(ConversationColumns.STARRED)) != 0;
final String senderString = getString(getColumnIndex(MessageColumns.DISPLAY_NAME));