From de79ecbbe2356d21ab0b0d40a7ee00f4e18b4924 Mon Sep 17 00:00:00 2001 From: Andrew Sapperstein Date: Tue, 10 Jul 2012 15:56:45 -0700 Subject: [PATCH] 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 --- src/com/android/email/provider/EmailProvider.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index 180cee597..f65996739 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -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(); /**