Populate the snippet in ConversationInfo

b/11111973

Change-Id: I8a4e824ad4c708fba8013221279a0b1ac6df7a8c
This commit is contained in:
Tony Mantler 2013-10-07 16:50:55 -07:00
parent 9ac77cc31e
commit b62486b019

View File

@ -3665,6 +3665,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));