()
| 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; |
nothing calls this directly
no test coverage detected