mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Start services in task
This commit is contained in:
@@ -1447,14 +1447,14 @@ public class FragmentRule extends FragmentBase {
|
||||
db.endTransaction();
|
||||
}
|
||||
|
||||
if (applied > 0)
|
||||
ServiceSynchronize.eval(context, "rules/manual");
|
||||
|
||||
return applied;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onExecuted(Bundle args, Integer applied) {
|
||||
if (applied > 0)
|
||||
ServiceSynchronize.eval(getContext(), "rules/manual");
|
||||
|
||||
dismiss();
|
||||
ToastEx.makeText(getContext(), getString(R.string.title_rule_applied, applied), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user