From 3d12694674650f7cc5d4192acf0cd30ec7efd96e Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 18 Aug 2021 07:22:45 +0200 Subject: [PATCH] Added metered to account debug info --- app/src/main/java/eu/faircode/email/Log.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/Log.java b/app/src/main/java/eu/faircode/email/Log.java index 2ff3d19d1f..64d402eedb 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -1879,12 +1879,14 @@ public class Log { SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); boolean enabled = prefs.getBoolean("enabled", true); int pollInterval = ServiceSynchronize.getPollInterval(context); + boolean metered = prefs.getBoolean("metered", true); Boolean ignoring = Helper.isIgnoringOptimizations(context); boolean schedule = prefs.getBoolean("schedule", false); size += write(os, "accounts=" + accounts.size() + " enabled=" + enabled + " interval=" + pollInterval + + " metered=" + metered + " optimizing=" + (ignoring == null ? null : !ignoring) + "\r\n\r\n");