Notify on demand

This commit is contained in:
M66B
2019-02-27 18:29:58 +00:00
parent 9659f88bc9
commit 917c02f46d
5 changed files with 102 additions and 79 deletions

View File

@@ -281,6 +281,9 @@ public class ServiceUI extends IntentService {
// Synchronize messages
Core.onSynchronizeMessages(this, account, folder, (IMAPFolder) ifolder, folder.getSyncArgs(), new Core.State());
// Notify new messages
Core.notify(this, db.message().getUnseenNotify());
} catch (Throwable ex) {
Log.w(ex);
Core.reportError(this, account, folder, ex);