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