am 7266502c: am 3bdce9b5: Remove server-side sanitized HTML capability; add client-side santized HTML capability

* commit '7266502c44032fea85ae4a79bb0e21706d0cbc82':
  Remove server-side sanitized HTML capability; add client-side santized HTML capability
This commit is contained in:
James Lemieux 2014-11-02 17:29:26 +00:00 committed by Android Git Automerger
commit 46f73c05dd

View File

@ -860,7 +860,7 @@ public class EmailProvider extends ContentProvider
//public static Uri UIPROVIDER_SETTINGS_NOTIFIER; //public static Uri UIPROVIDER_SETTINGS_NOTIFIER;
private static Uri UIPROVIDER_ATTACHMENT_NOTIFIER; private static Uri UIPROVIDER_ATTACHMENT_NOTIFIER;
private static Uri UIPROVIDER_ATTACHMENTS_NOTIFIER; private static Uri UIPROVIDER_ATTACHMENTS_NOTIFIER;
public static Uri UIPROVIDER_ALL_ACCOUNTS_NOTIFIER; private static Uri UIPROVIDER_ALL_ACCOUNTS_NOTIFIER;
private static Uri UIPROVIDER_MESSAGE_NOTIFIER; private static Uri UIPROVIDER_MESSAGE_NOTIFIER;
private static Uri UIPROVIDER_RECENT_FOLDERS_NOTIFIER; private static Uri UIPROVIDER_RECENT_FOLDERS_NOTIFIER;
@ -3394,8 +3394,8 @@ public class EmailProvider extends ContentProvider
// TODO: Should this be stored per-account, or some other mechanism? // TODO: Should this be stored per-account, or some other mechanism?
capabilities |= AccountCapabilities.NESTED_FOLDERS; capabilities |= AccountCapabilities.NESTED_FOLDERS;
// sanitization happens lazily in the EmailMessageCursor as HTML email bodies are requested // the client is permitted to sanitize HTML emails for all Email accounts
capabilities |= UIProvider.AccountCapabilities.SANITIZED_HTML; capabilities |= AccountCapabilities.CLIENT_SANITIZED_HTML;
return capabilities; return capabilities;
} }