Commit graph

5 commits

Author SHA1 Message Date
Mike Lockwood
bd3166c592 Work around a problem stopping the GPS engine while an AGPS data call is active
Sometimes the engine does not send us the GPS_STATUS_ENGINE_OFF message,
so we end up blinking the GPS icon forever.  Deferring the loc_eng_stop call
until the AGPS activity is done works around this problem.

Change-Id: Iad0d15323ff909c0d371f9db3a6e899e51375a99
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-10-25 23:36:16 -04:00
Mike Lockwood
2c115de409 Hold a wake lock while events are pending for the deferred action thread.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-14 14:26:34 -04:00
Mike Lockwood
300b715b0d loc_api: Repackage as a new GPS HAL module.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-06 05:43:41 -04:00
Mike Lockwood
24d7556a88 loc_api: Process all events in deferred action thread.
It is not safe to call into framework code from an RPC callback.

Change-Id: Idb85590f5648b85ba4dd352136f89652b3128fbe
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-02 11:51:35 -05:00
Mike Lockwood
b4c4f2016a Initial commit of Qualcomm's loc_api GPS library for the MSM platform.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-01-21 23:49:31 -05:00