mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Run start service on foreground
This commit is contained in:
@@ -116,11 +116,16 @@ public class FragmentDialogSync extends FragmentDialogBase {
|
||||
db.endTransaction();
|
||||
}
|
||||
|
||||
ServiceSynchronize.eval(context, "folder:months");
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onExecuted(Bundle args, Void data) {
|
||||
Context context = getContext();
|
||||
if (context != null)
|
||||
ServiceSynchronize.eval(context, "folder:months");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onException(Bundle args, Throwable ex) {
|
||||
Log.unexpectedError(getParentFragmentManager(), ex);
|
||||
|
||||
Reference in New Issue
Block a user