MCPcopy Create free account
hub / github.com/M66B/FairEmail / start

Method start

app/src/main/java/eu/faircode/email/ServiceSend.java:1161–1167  ·  view source on GitHub ↗
(Context context)

Source from the content-addressed store, hash-verified

1159 }
1160
1161 static void start(Context context) {
1162 try {
1163 ContextCompat.startForegroundService(context, new Intent(context, ServiceSend.class));
1164 } catch (Throwable ex) {
1165 Log.e(ex);
1166 }
1167 }
1168
1169 static void stop(Context context) {
1170 context.stopService(new Intent(context, ServiceSend.class));

Callers 13

delegateMethod · 0.95
runMethod · 0.95
onSyncMethod · 0.95
onExecuteMethod · 0.95
onExecuteMethod · 0.95
onExecuteMethod · 0.95
onExecuteMethod · 0.95
onReplyDirectMethod · 0.95
templateMethod · 0.95
onExecuteMethod · 0.95
onExecutedMethod · 0.95
syncMethod · 0.95

Calls 1

eMethod · 0.95

Tested by

no test coverage detected