Browse Source

Process operations on manual sync

main
M66B 6 years ago
parent
commit
ede0b20370
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 3
- 1
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -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…
Cancel
Save