GPS: Add callback for creating threads that can call into the Java VM.

To eliminate an unnecessary thread in the framework GPS code, we now
require the GPS HAL to call callbacks from a thread created using the
create_thread_cb.  Such threads are able to call directly into Java,
eliminating a polling thread in the GpsLocationProvider code.

Change-Id: I91eeea73b8908f10f10a93ae71034c63f806e8a1
Signed-off-by: Mike Lockwood <lockwood@android.com>
1 file changed