Added remarks

pull/162/head
M66B 5 years ago
parent b531a6552e
commit 79e4ed0903

@ -1380,6 +1380,7 @@ class Core {
IMAPFolder ifolder, IMAPMessage imessage, IMAPFolder ifolder, IMAPMessage imessage,
boolean browsed, boolean download, boolean browsed, boolean download,
List<EntityRule> rules, State state) throws MessagingException, IOException { List<EntityRule> rules, State state) throws MessagingException, IOException {
// Instead of locking the database while performing message I/O
lockFolders.putIfAbsent(folder.id, folder.id); lockFolders.putIfAbsent(folder.id, folder.id);
synchronized (lockFolders.get(folder.id)) { synchronized (lockFolders.get(folder.id)) {
long uid = ifolder.getUID(imessage); long uid = ifolder.getUID(imessage);
@ -2206,6 +2207,8 @@ class Core {
.setVisibility(NotificationCompat.VISIBILITY_PRIVATE) .setVisibility(NotificationCompat.VISIBILITY_PRIVATE)
.setOnlyAlertOnce(true); .setOnlyAlertOnce(true);
// TODO: setAllowSystemGeneratedContextualActions
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N)
mbuilder mbuilder
.setGroup(Long.toString(group)) .setGroup(Long.toString(group))

Loading…
Cancel
Save