lostzen / lost

A drop-in replacement for Google Play services location APIs for Android
http://mapzen.github.io/lost/
Other
352 stars 70 forks source link

Initialize thread as looper if needed #149

Closed sarahsnow1 closed 7 years ago

sarahsnow1 commented 7 years ago

Overview

Allow requesting location updates from a background thread without requiring the thread to initialize itself as a looper and setup the message queue to run in it.

Proposed Changes

This PR prepares the current thread to request location updates (like a certain other location library does).

Closes #131

ecgreb commented 7 years ago

Based on the discussion it seems like we need to rethink our approach on this one. Closing for now but let's reopen if we find a better way to deal with pending intent update requests from a background thread.