diff --git a/app/src/main/java/eu/faircode/email/DebugHelper.java b/app/src/main/java/eu/faircode/email/DebugHelper.java index 1debd2a94d..604757b2d5 100644 --- a/app/src/main/java/eu/faircode/email/DebugHelper.java +++ b/app/src/main/java/eu/faircode/email/DebugHelper.java @@ -669,6 +669,8 @@ public class DebugHelper { SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); boolean enabled = prefs.getBoolean("enabled", true); int pollInterval = ServiceSynchronize.getPollInterval(context); + boolean poll_metered = prefs.getBoolean("poll_metered", false); + boolean poll_unmetered = prefs.getBoolean("poll_unmetered", false); boolean metered = prefs.getBoolean("metered", true); Boolean ignoring = Helper.isIgnoringOptimizations(context); boolean canSchedule = AlarmManagerCompatEx.canScheduleExactAlarms(context); @@ -713,6 +715,8 @@ public class DebugHelper { size += write(os, "enabled=" + enabled + (enabled ? "" : " !!!") + " interval=" + pollInterval + "\r\n" + + (pollInterval != 0 && poll_metered ? "poll metered=" + poll_metered + " !!!\r\n" : "") + + (pollInterval != 0 && poll_unmetered ? "poll unmetered=" + poll_unmetered + " !!!\r\n" : "") + "metered=" + metered + (metered ? "" : " !!!") + " saving=" + ds + ("enabled".equals(ds) ? " !!!" : "") + " vpn=" + vpn + (vpn ? " !!!" : "") +