mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 08:33:37 +02:00
Reduced logging
This commit is contained in:
@@ -766,17 +766,12 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
long account = Long.parseLong(action.split(":")[1]);
|
||||
Core.State state = coreStates.get(account);
|
||||
|
||||
boolean ok = false;
|
||||
if (state == null)
|
||||
EntityLog.log(this, "### wakeup missing account=" + account);
|
||||
else {
|
||||
EntityLog.log(this, "### waking up account=" + account);
|
||||
ok = state.release();
|
||||
}
|
||||
|
||||
if (!ok) {
|
||||
Log.e("Wakeup failed account=" + account);
|
||||
reload(this, account, false, "wakeup failed");
|
||||
if (!state.release())
|
||||
Log.e("Wakeup failed account=" + account);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user