Process operations on manual sync

This commit is contained in:
M66B 2018-09-11 16:52:34 +00:00
parent c35caf9bc4
commit ede0b20370
1 changed files with 3 additions and 1 deletions

View File

@ -724,8 +724,10 @@ public class ServiceSynchronize extends LifecycleService {
if (ACTION_PROCESS_OPERATIONS.equals(intent.getAction()))
processOperations(folder, isession, istore, ifolder);
else if (ACTION_SYNCHRONIZE_FOLDER.equals(intent.getAction()))
else if (ACTION_SYNCHRONIZE_FOLDER.equals(intent.getAction())) {
processOperations(folder, isession, istore, ifolder);
synchronizeMessages(account, folder, ifolder, state);
}
} catch (Throwable ex) {
Log.e(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex));