mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 03:05:31 +00:00
Improved debug info
This commit is contained in:
parent
9afec13f17
commit
b41a357dae
1 changed files with 2 additions and 0 deletions
|
@ -2055,6 +2055,7 @@ public class Log {
|
||||||
int pollInterval = ServiceSynchronize.getPollInterval(context);
|
int pollInterval = ServiceSynchronize.getPollInterval(context);
|
||||||
boolean metered = prefs.getBoolean("metered", true);
|
boolean metered = prefs.getBoolean("metered", true);
|
||||||
Boolean ignoring = Helper.isIgnoringOptimizations(context);
|
Boolean ignoring = Helper.isIgnoringOptimizations(context);
|
||||||
|
boolean canSchedule = AlarmManagerCompatEx.canScheduleExactAlarms(context);
|
||||||
boolean auto_optimize = prefs.getBoolean("auto_optimize", false);
|
boolean auto_optimize = prefs.getBoolean("auto_optimize", false);
|
||||||
boolean schedule = prefs.getBoolean("schedule", false);
|
boolean schedule = prefs.getBoolean("schedule", false);
|
||||||
|
|
||||||
|
@ -2068,6 +2069,7 @@ public class Log {
|
||||||
" vpn=" + vpn + (vpn ? " !!!" : "") +
|
" vpn=" + vpn + (vpn ? " !!!" : "") +
|
||||||
" ng=" + ng + " tc=" + tc + "\r\n" +
|
" ng=" + ng + " tc=" + tc + "\r\n" +
|
||||||
"optimizing=" + (ignoring == null ? null : !ignoring) + (Boolean.FALSE.equals(ignoring) ? " !!!" : "") +
|
"optimizing=" + (ignoring == null ? null : !ignoring) + (Boolean.FALSE.equals(ignoring) ? " !!!" : "") +
|
||||||
|
" canSchedule=" + canSchedule + (canSchedule ? "" : " !!!") +
|
||||||
" auto_optimize=" + auto_optimize + (auto_optimize ? " !!!" : "") + "\r\n" +
|
" auto_optimize=" + auto_optimize + (auto_optimize ? " !!!" : "") + "\r\n" +
|
||||||
"accounts=" + accounts.size() +
|
"accounts=" + accounts.size() +
|
||||||
" folders=" + db.folder().countTotal() +
|
" folders=" + db.folder().countTotal() +
|
||||||
|
|
Loading…
Reference in a new issue