1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 10:47:28 +00:00

Improved debug info

This commit is contained in:
M66B 2022-03-19 21:21:53 +01:00
parent 9afec13f17
commit b41a357dae

View file

@ -2055,6 +2055,7 @@ public class Log {
int pollInterval = ServiceSynchronize.getPollInterval(context);
boolean metered = prefs.getBoolean("metered", true);
Boolean ignoring = Helper.isIgnoringOptimizations(context);
boolean canSchedule = AlarmManagerCompatEx.canScheduleExactAlarms(context);
boolean auto_optimize = prefs.getBoolean("auto_optimize", false);
boolean schedule = prefs.getBoolean("schedule", false);
@ -2068,6 +2069,7 @@ public class Log {
" vpn=" + vpn + (vpn ? " !!!" : "") +
" ng=" + ng + " tc=" + tc + "\r\n" +
"optimizing=" + (ignoring == null ? null : !ignoring) + (Boolean.FALSE.equals(ignoring) ? " !!!" : "") +
" canSchedule=" + canSchedule + (canSchedule ? "" : " !!!") +
" auto_optimize=" + auto_optimize + (auto_optimize ? " !!!" : "") + "\r\n" +
"accounts=" + accounts.size() +
" folders=" + db.folder().countTotal() +