mirror of https://github.com/M66B/FairEmail.git
Added metered to account debug info
This commit is contained in:
parent
af2b8df97b
commit
3d12694674
|
@ -1879,12 +1879,14 @@ public class Log {
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
boolean enabled = prefs.getBoolean("enabled", true);
|
boolean enabled = prefs.getBoolean("enabled", true);
|
||||||
int pollInterval = ServiceSynchronize.getPollInterval(context);
|
int pollInterval = ServiceSynchronize.getPollInterval(context);
|
||||||
|
boolean metered = prefs.getBoolean("metered", true);
|
||||||
Boolean ignoring = Helper.isIgnoringOptimizations(context);
|
Boolean ignoring = Helper.isIgnoringOptimizations(context);
|
||||||
boolean schedule = prefs.getBoolean("schedule", false);
|
boolean schedule = prefs.getBoolean("schedule", false);
|
||||||
|
|
||||||
size += write(os, "accounts=" + accounts.size() +
|
size += write(os, "accounts=" + accounts.size() +
|
||||||
" enabled=" + enabled +
|
" enabled=" + enabled +
|
||||||
" interval=" + pollInterval +
|
" interval=" + pollInterval +
|
||||||
|
" metered=" + metered +
|
||||||
" optimizing=" + (ignoring == null ? null : !ignoring) +
|
" optimizing=" + (ignoring == null ? null : !ignoring) +
|
||||||
"\r\n\r\n");
|
"\r\n\r\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue