(Context context)
| 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 |
no test coverage detected