Send empty data for permalink/clipped fields.

b/2887917

Change-Id: I08e0317d3350732c6de9569d67d9a39b1a9ebf2e
This commit is contained in:
Andrew Sapperstein 2014-02-20 10:29:37 -08:00
parent 0dffe3afd7
commit 07d674f9fe

View File

@ -2308,6 +2308,7 @@ public class EmailProvider extends ContentProvider {
.add(UIProvider.ConversationColumns.ACCOUNT_URI,
uriWithColumn("uiaccount", MessageColumns.ACCOUNT_KEY))
.add(UIProvider.ConversationColumns.SENDER_INFO, MessageColumns.FROM_LIST)
.add(UIProvider.ConversationColumns.PERMALINK, null)
.build();
}
return sMessageListMap;
@ -2376,6 +2377,7 @@ public class EmailProvider extends ContentProvider {
.add(UIProvider.MessageColumns.SPAM_WARNING_LINK_TYPE,
Integer.toString(UIProvider.SpamWarningLinkType.NO_LINK))
.add(UIProvider.MessageColumns.VIA_DOMAIN, null)
.add(UIProvider.MessageColumns.CLIPPED, "0")
.build();
}
return sMessageViewMap;