Update to email2 for the new spam warnings.

This feature being Gmail-specific, we simply
set the default values so that warnings never show
up for email clients.

Change-Id: Ie0a55762c1af73a9c9aa8836faadc23ac9af52cb
This commit is contained in:
Andrew Sapperstein 2012-07-10 15:56:45 -07:00
parent 4789524401
commit de79ecbbe2

View File

@ -2149,6 +2149,11 @@ outer:
uriWithColumn("account", MessageColumns.ACCOUNT_KEY))
.add(UIProvider.MessageColumns.STARRED, EmailContent.MessageColumns.FLAG_FAVORITE)
.add(UIProvider.MessageColumns.READ, EmailContent.MessageColumns.FLAG_READ)
.add(UIProvider.MessageColumns.SPAM_WARNING_STRING, null)
.add(UIProvider.MessageColumns.SPAM_WARNING_LEVEL,
Integer.toString(UIProvider.SpamWarningLevel.NO_WARNING))
.add(UIProvider.MessageColumns.SPAM_WARNING_LINK_TYPE,
Integer.toString(UIProvider.SpamWarningLinkType.NO_LINK))
.build();
/**