commit | 4453b5bfc9c11d2911830ab7c042f4885861b60a | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Sun Jun 20 14:23:10 2010 -0700 |
committer | Mike Lockwood <lockwood@android.com> | Sun Jun 20 14:23:10 2010 -0700 |
tree | 5a802fb2b54e844b2bbea503606b751fd965375c | |
parent | b15879a589bb5ce350869e1a735840679e4b2aaa [diff] |
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>