mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Revert "Run start service on foreground"
This reverts commit f7a85deeec.
This commit is contained in:
@@ -497,19 +497,16 @@ public class FragmentGmail extends FragmentBase {
|
||||
db.endTransaction();
|
||||
}
|
||||
|
||||
ServiceSynchronize.eval(context, "Gmail");
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onExecuted(Bundle args, Void data) {
|
||||
Context context = getContext();
|
||||
if (context != null)
|
||||
ServiceSynchronize.eval(context, "Gmail");
|
||||
|
||||
if (args.getLong("account") < 0) {
|
||||
finish();
|
||||
if (context != null)
|
||||
ToastEx.makeText(context, R.string.title_setup_oauth_updated, Toast.LENGTH_LONG).show();
|
||||
ToastEx.makeText(getContext(), R.string.title_setup_oauth_updated, Toast.LENGTH_LONG).show();
|
||||
} else {
|
||||
FragmentReview fragment = new FragmentReview();
|
||||
fragment.setArguments(args);
|
||||
|
||||
Reference in New Issue
Block a user