mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-03 18:26:20 +00:00
To do
This commit is contained in:
parent
0df8aea75d
commit
0ca1050b2e
1 changed files with 3 additions and 0 deletions
|
@ -429,6 +429,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||||
// MessagingException
|
// MessagingException
|
||||||
// - message: connection failure
|
// - message: connection failure
|
||||||
// - event: Too many simultaneous connections. (Failure)
|
// - event: Too many simultaneous connections. (Failure)
|
||||||
|
// TODO: retry?
|
||||||
|
|
||||||
Log.e(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex));
|
Log.e(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex));
|
||||||
reportError(account.name, folder.name, ex);
|
reportError(account.name, folder.name, ex);
|
||||||
|
@ -1464,6 +1465,8 @@ public class ServiceSynchronize extends LifecycleService {
|
||||||
public void onLost(Network network) {
|
public void onLost(Network network) {
|
||||||
Log.i(Helper.TAG, "Lost " + network);
|
Log.i(Helper.TAG, "Lost " + network);
|
||||||
|
|
||||||
|
// TODO: run in thread
|
||||||
|
|
||||||
synchronized (state) {
|
synchronized (state) {
|
||||||
state.running = false;
|
state.running = false;
|
||||||
state.notifyAll();
|
state.notifyAll();
|
||||||
|
|
Loading…
Reference in a new issue