From ff8a23cc7c33992d691724d9e4be58fe0029cf5b Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 30 Jul 2021 14:54:44 +0200 Subject: [PATCH] Small log improvement --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 51c4f31941..c02916bb85 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -19,6 +19,8 @@ package eu.faircode.email; Copyright 2018-2021 by Marcel Bokhorst (M66B) */ +import static android.os.Process.THREAD_PRIORITY_BACKGROUND; + import android.app.AlarmManager; import android.app.NotificationManager; import android.app.PendingIntent; @@ -95,8 +97,6 @@ import javax.mail.event.StoreListener; import me.leolin.shortcutbadger.ShortcutBadger; -import static android.os.Process.THREAD_PRIORITY_BACKGROUND; - public class ServiceSynchronize extends ServiceBase implements SharedPreferences.OnSharedPreferenceChangeListener { private Network lastActive = null; private Boolean lastSuitable = null; @@ -2148,7 +2148,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences int backoff = state.getBackoff(); int recently = (lastLost + LOST_RECENTLY < now ? 1 : 2); - EntityLog.log(this, account.name + " backoff=" + backoff + " recently=" + recently); + EntityLog.log(this, account.name + " backoff=" + backoff + " recently=" + recently + "x"); if (backoff < CONNECT_BACKOFF_MAX) state.setBackoff(backoff * 2);