Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class LocationWork extends Worker {
...
static void reportFinished() {
if (locationWait != null) {
Log.d(TAG, "doWork: locationWait down by one");
locationWait.countDown();
}
}
private void cleanUp() {
Log.d(TAG, "Work is done");
locationTracker.stop();
handlerThread.quit();
looper.quit();
handlerThread.quit();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.