Reset backup after opening folders

pull/125/head
M66B 6 years ago
parent bc92c2baa8
commit 624191a58e

@ -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) {

Loading…
Cancel
Save