Added remarks

This commit is contained in:
M66B 2019-09-08 16:11:43 +02:00
parent b531a6552e
commit 79e4ed0903
1 changed files with 3 additions and 0 deletions

View File

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