mirror of https://github.com/M66B/FairEmail.git
Process operations on manual sync
This commit is contained in:
parent
c35caf9bc4
commit
ede0b20370
|
@ -724,8 +724,10 @@ public class ServiceSynchronize extends LifecycleService {
|
||||||
|
|
||||||
if (ACTION_PROCESS_OPERATIONS.equals(intent.getAction()))
|
if (ACTION_PROCESS_OPERATIONS.equals(intent.getAction()))
|
||||||
processOperations(folder, isession, istore, ifolder);
|
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);
|
synchronizeMessages(account, folder, ifolder, state);
|
||||||
|
}
|
||||||
|
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
Log.e(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex));
|
Log.e(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex));
|
||||||
|
|
Loading…
Reference in New Issue