mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-08 20:28:34 -05:00
Remove double synchronization
This commit is contained in:
parent
23c49d834d
commit
f8ea923522
@ -1810,7 +1810,6 @@ public class MessagingController implements Runnable {
|
||||
synchronized (data) {
|
||||
MessageReference ref = localMessage.makeMessageReference();
|
||||
if (data.removeMatchingMessage(context, ref)) {
|
||||
synchronized (data) {
|
||||
// if we remove a single message from the notification,
|
||||
// maybe there is a stacked notification active for that one message
|
||||
Integer childNotification = data.getStackedChildNotification(ref);
|
||||
@ -1826,7 +1825,6 @@ public class MessagingController implements Runnable {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
progress.incrementAndGet();
|
||||
for (MessagingListener l : getListeners()) {
|
||||
l.synchronizeMailboxProgress(account, folder, progress.get(), todo);
|
||||
|
Loading…
Reference in New Issue
Block a user