android_device_xiaomi_sdm66.../loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue
Kevin Tang cb119e6f52 Make Loc Init Asynchronous
GPS-enable gets too heavy at powerup, when loc_init is
synchronous, where loc goes to get the hardware handle
if AP init happens faster than the GPS hardware. The
loc init calling thread is from Android framework, and
it locks a mutex that in turn could lock up system server
main thread upon race conditions.

The second half of loc init, i.e. the reinit, is now moved
to loc worker thread. This should help release some of the
powerup timing pressure on the framework threads.

Added a message just for asynchrous Loc Init so as to execute
init specifically.

Change-Id: I369e461ca4ca61cea3a9729c84d24af4ffa8e51d
CRs-fixed: 472843
2013-07-23 20:05:58 -06:00
..
rpc_inc gps: Added xtra server query loc api 2013-06-11 15:02:29 -07:00
src Make Loc Init Asynchronous 2013-07-23 20:05:58 -06:00
Android.mk gps: moving agps/ni/xtra/time features out of afw 2013-06-11 15:00:57 -07:00