From 2e8db5f63c798dcef6d1c6f725701591e251ee10 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 11 Aug 2020 07:47:08 +0200 Subject: [PATCH] Reduced logging --- .../main/java/eu/faircode/email/ServiceSynchronize.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 1bcbf732dc..08291afef6 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -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); } }