am 805bc397: Merge "Populate the snippet in ConversationInfo" into jb-ub-mail-ur10

* commit '805bc397bd9db8ef42c7aa88b9913565ac908732':
  Populate the snippet in ConversationInfo
This commit is contained in:
Tony Mantler 2013-10-08 09:24:24 -07:00 committed by Android Git Automerger
commit 5c29e2c801

View File

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