Added metered to account debug info

pull/204/head
M66B 3 years ago
parent af2b8df97b
commit 3d12694674

@ -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");

Loading…
Cancel
Save