Browse Source

Fixed checking folder connection

main
M66B 5 years ago
parent
commit
095a885d30
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 4
- 0
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -965,6 +965,10 @@ public class ServiceSynchronize extends LifecycleService {
if (!istore.isConnected())
throw new StoreClosedException(istore);
for (EntityFolder folder : folders.keySet())
if (!folders.get(folder).isOpen())
throw new FolderClosedException(folders.get(folder));
}
Log.i(Helper.TAG, account.name + " done running=" + state.running);
} finally {


Loading…
Cancel
Save