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. Add a message just for asynchrous Loc Init so as to execute init specifically. Change-Id: I369e461ca4ca61cea3a9729c84d24af4ffa8e51d CRs-fixed: 472843 |
||
---|---|---|
.. | ||
libloc_api-rpc-glue | ||
libloc_api-rpc-stub | ||
Android.mk |