use of com.fsck.k9.cache.EmailProviderCache in project k-9 by k9mail.
the class MessagingController method isMessageSuppressed.
private boolean isMessageSuppressed(LocalMessage message) {
long messageId = message.getId();
long folderId = message.getFolder().getId();
EmailProviderCache cache = EmailProviderCache.getCache(message.getFolder().getAccountUuid(), context);
return cache.isMessageHidden(messageId, folderId);
}
use of com.fsck.k9.cache.EmailProviderCache in project k-9 by k9mail.
the class MessagingController method suppressMessages.
private void suppressMessages(Account account, List<LocalMessage> messages) {
EmailProviderCache cache = EmailProviderCache.getCache(account.getUuid(), context);
cache.hideMessages(messages);
}
Aggregations