diff options
author | Harikrishnan Hariharan <hahariha@codeaurora.org> | 2017-05-05 17:29:09 +0530 |
---|---|---|
committer | Harikrishnan Hariharan <hahariha@codeaurora.org> | 2017-05-27 23:41:18 +0530 |
commit | 5969d0b2da4d0168286c359ac6a8a6b4c6495333 (patch) | |
tree | f1578b5048632c1c17c218945e20168119a53bd0 /core/LocApiBase.cpp | |
parent | 2a49c5a0efee1628860959029f45b4425d1c6470 (diff) | |
download | gps-5969d0b2da4d0168286c359ac6a8a6b4c6495333.tar.gz |
Provide correct SV used_in_fix flag for QZSS
Mark QZSS SV used_in_fix based on the most recent position report
Change-Id: I166087fb62de45e1013ab29c01df3abfba7af12b
CRs-Fixed: 2043300
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 0036d88..2dcd4cd 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -237,7 +237,7 @@ void LocApiBase::reportPosition(UlpLocation& location, "altitude: %f\n speed: %f\n bearing: %f\n accuracy: %f\n " "timestamp: %lld\n rawDataSize: %d\n rawData: %p\n " "Session status: %d\n Technology mask: %u\n " - "SV used in fix (gps/glo/bds/gal) : (%x/%x/%x/%x)", + "SV used in fix (gps/glo/bds/gal/qzss) : (%x/%x/%x/%x/%x)", location.gpsLocation.flags, location.position_source, location.gpsLocation.latitude, location.gpsLocation.longitude, location.gpsLocation.altitude, location.gpsLocation.speed, @@ -247,7 +247,8 @@ void LocApiBase::reportPosition(UlpLocation& location, locationExtended.gnss_sv_used_ids.gps_sv_used_ids_mask, locationExtended.gnss_sv_used_ids.glo_sv_used_ids_mask, locationExtended.gnss_sv_used_ids.bds_sv_used_ids_mask, - locationExtended.gnss_sv_used_ids.gal_sv_used_ids_mask); + locationExtended.gnss_sv_used_ids.gal_sv_used_ids_mask, + locationExtended.gnss_sv_used_ids.qzss_sv_used_ids_mask); // loop through adapters, and deliver to all adapters. TO_ALL_LOCADAPTERS( mLocAdapters[i]->reportPositionEvent(location, locationExtended, |