mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 11:55:20 +01:00
Start services in task
This commit is contained in:
@@ -325,14 +325,14 @@ public class AdapterRule extends RecyclerView.Adapter<AdapterRule.ViewHolder> {
|
||||
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(context, "rules/manual");
|
||||
|
||||
Snackbar.make(
|
||||
parentFragment.getView(),
|
||||
context.getString(R.string.title_rule_applied, applied), Snackbar.LENGTH_LONG)
|
||||
|
||||
Reference in New Issue
Block a user