Reduced logging

This commit is contained in:
M66B 2020-08-11 07:47:08 +02:00
parent 86d0b12de4
commit 2e8db5f63c
1 changed files with 2 additions and 7 deletions

View File

@ -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) {
if (!state.release())
Log.e("Wakeup failed account=" + account);
reload(this, account, false, "wakeup failed");
}
}