diff options
author | Bhavna Sharma <sbhavna@codeaurora.org> | 2017-07-03 18:46:41 -0700 |
---|---|---|
committer | Bhavna Sharma <sbhavna@codeaurora.org> | 2017-07-13 15:16:59 -0700 |
commit | be7f077122deebc468cf609cb5739a845ce7beec (patch) | |
tree | ce30dcb28fb808f98ecea06a41f16966d9d7e770 /core/LocApiBase.cpp | |
parent | 86786d166a8ee8a8a8b389f942c08b70eab5c4dd (diff) | |
download | gps-be7f077122deebc468cf609cb5739a845ce7beec.tar.gz |
Fix to report bearing and speed accuracy
1. Validity bit for vertical uncertainity was conflicting
with the validity bit of location source, hence had
to change the bit.
2. Modify ZPP API to report speed and bearing accuracy.
CRs-Fixed:2064017
Change-Id: I8b09ecab3d67557ad7c2451fee71dbc0e1f14371
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 2dcd4cd..2a0d205 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -541,10 +541,12 @@ enum loc_api_adapter_err LocApiBase:: } enum loc_api_adapter_err LocApiBase:: - getBestAvailableZppFix(LocGpsLocation & zppLoc, LocPosTechMask & tech_mask) + getBestAvailableZppFix(LocGpsLocation & zppLoc, GpsLocationExtended & locationExtended, + LocPosTechMask & tech_mask) { memset(&zppLoc, 0, sizeof(zppLoc)); memset(&tech_mask, 0, sizeof(tech_mask)); + memset(&locationExtended, 0, sizeof (locationExtended)); DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS) } |