From 6700088d79e006afe49c124b556d3873f4174404 Mon Sep 17 00:00:00 2001 From: Mike Cailean Date: Tue, 18 Sep 2018 17:32:16 -0700 Subject: [PATCH] Set SV in use mask based on final fixes Do not set SV in use mask based on intermediate position update from modem since it might contain stale information. Reset the flag indicating SV are used in fix for intermediate fixes. Change-Id: I10a324a160b20a6ced94c689acf9fc9d77f6e826 CRs-fixed: 2318041 --- gnss/GnssAdapter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gnss/GnssAdapter.cpp b/gnss/GnssAdapter.cpp index 04ac1871..c6ed5874 100644 --- a/gnss/GnssAdapter.cpp +++ b/gnss/GnssAdapter.cpp @@ -2938,6 +2938,7 @@ GnssAdapter::reportPosition(const UlpLocation& ulpLocation, LocPosTechMask techMask) { bool reported = needReport(ulpLocation, status, techMask); + mGnssSvIdUsedInPosAvail = false; if (reported) { if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_GNSS_SV_USED_DATA) { mGnssSvIdUsedInPosAvail = true;