Reduced logging

This commit is contained in:
M66B
2022-04-23 13:03:51 +02:00
parent f457849a78
commit 8f12a20041
4 changed files with 16 additions and 6 deletions

View File

@@ -1161,6 +1161,8 @@ public class FragmentAccount extends FragmentBase {
}
}
boolean reschedule = (ignore_schedule != jconditions.optBoolean("ignore_schedule"));
try {
db.beginTransaction();
@@ -1340,7 +1342,10 @@ public class FragmentAccount extends FragmentBase {
db.endTransaction();
}
ServiceSynchronize.eval(context, "save account");
if (reschedule)
ServiceSynchronize.reschedule(context);
else
ServiceSynchronize.eval(context, "save account");
if (!synchronize) {
NotificationManager nm = Helper.getSystemService(context, NotificationManager.class);