summaryrefslogtreecommitdiff
path: root/gnss/GnssAdapter.h
diff options
context:
space:
mode:
authorYingjie Wang <yingjiewang@codeaurora.org>2018-01-10 13:58:17 +0800
committerYingjie Wang <yingjiewang@codeaurora.org>2018-02-14 13:33:57 +0800
commitaf34b8d1ac48db485f78d832b4d263473d18dde9 (patch)
tree4b7414a9693e31434daa192f612bdf4ee0cdcee3 /gnss/GnssAdapter.h
parentbb529c50e9a91f0bdb73d4a8a36e55155002a73e (diff)
downloadgps-af34b8d1ac48db485f78d832b4d263473d18dde9.tar.gz
Enhance LocationAPI structs to hold full position
Match the output of izat_remote_api clients with LocationAPI clients. Fill GnssLocationInfoNotification with missing fields from GpsLocationExtended and Location structure. And allow one single callback to report complete position info. Meanwhile, remove fields from UlpLocation that are no longer used. CRs-fixed: 2169738 Change-Id: Ib5bd3dd9c065c4b3d6cad32b23167546ad950d06
Diffstat (limited to 'gnss/GnssAdapter.h')
-rw-r--r--gnss/GnssAdapter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnss/GnssAdapter.h b/gnss/GnssAdapter.h
index cf871ba..e047f75 100644
--- a/gnss/GnssAdapter.h
+++ b/gnss/GnssAdapter.h
@@ -119,7 +119,7 @@ class GnssAdapter : public LocAdapterBase {
/*==== CONVERSION ===================================================================*/
static void convertOptions(LocPosMode& out, const LocationOptions& options);
- static void convertLocation(Location& out, const LocGpsLocation& locGpsLocation,
+ static void convertLocation(Location& out, const UlpLocation& ulpLocation,
const GpsLocationExtended& locationExtended,
const LocPosTechMask techMask);
static void convertLocationInfo(GnssLocationInfoNotification& out,