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

Method cleanup

app/src/main/java/eu/faircode/email/SimpleTask.java:395–404  ·  view source on GitHub ↗
(Context context)

Source from the content-addressed store, hash-verified

393 }
394
395 private void cleanup(Context context) {
396 started = 0;
397 reported = false;
398 future = null;
399 synchronized (tasks) {
400 tasks.remove(this);
401 }
402
403 updateTaskCount(context);
404 }
405
406 private void updateTaskCount(Context context) {
407 // Check tasks

Callers 3

runMethod · 0.95
onAnyMethod · 0.95
cancelMethod · 0.95

Calls 2

updateTaskCountMethod · 0.95
removeMethod · 0.45

Tested by

no test coverage detected