From b62486b019ec30c81145e34385e015fc31c5c06c Mon Sep 17 00:00:00 2001 From: Tony Mantler Date: Mon, 7 Oct 2013 16:50:55 -0700 Subject: [PATCH] Populate the snippet in ConversationInfo b/11111973 Change-Id: I8a4e824ad4c708fba8013221279a0b1ac6df7a8c --- src/com/android/email/provider/EmailProvider.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index 158f53442..f39d681ff 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -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));