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

Method onDestroy

app/src/main/java/eu/faircode/email/SimpleTask.java:206–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204
205 LifecycleObserver watcher = new LifecycleObserver() {
206 @OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
207 public void onDestroy() {
208 EntityLog.log(context, EntityLog.Type.Debug1, "Owner gone task=" + name);
209 destroyed = true;
210 onDestroyed(args);
211 owner.getLifecycle().removeObserver(this);
212 }
213 };
214
215 Context tcontext;

Callers

nothing calls this directly

Calls 4

logMethod · 0.95
onDestroyedMethod · 0.95
removeObserverMethod · 0.45
getLifecycleMethod · 0.45

Tested by

no test coverage detected