This commit is contained in:
M66B
2018-08-29 05:31:00 +00:00
parent 3fee5e24ec
commit c65eb63ded
41 changed files with 83 additions and 39 deletions

View File

@@ -739,7 +739,11 @@ public class ServiceSynchronize extends LifecycleService {
// Wait for stop or folder error
Log.i(Helper.TAG, account.name + " wait");
synchronized (state) {
state.wait(STORE_NOOP_INTERVAL);
try {
state.wait(STORE_NOOP_INTERVAL);
} catch (InterruptedException ex) {
Log.w(Helper.TAG, account.name + " wait " + ex.toString());
}
}
Log.i(Helper.TAG, account.name + " waited");
}