Reset backup after opening folders

This commit is contained in:
M66B 2018-09-09 07:23:51 +00:00
parent bc92c2baa8
commit 624191a58e
1 changed files with 2 additions and 1 deletions

View File

@ -480,7 +480,6 @@ public class ServiceSynchronize extends LifecycleService {
db.account().setAccountState(account.id, "connecting");
istore.connect(account.host, account.port, account.user, account.password);
backoff = CONNECT_BACKOFF_START;
db.account().setAccountState(account.id, "connected");
db.account().setAccountError(account.id, null);
@ -679,6 +678,8 @@ public class ServiceSynchronize extends LifecycleService {
idlers.add(idle);
}
backoff = CONNECT_BACKOFF_START;
BroadcastReceiver processFolder = new BroadcastReceiver() {
@Override
public void onReceive(Context context, final Intent intent) {