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
This commit is contained in:
Mike Cailean 2018-09-18 17:32:16 -07:00
parent 9ae180b913
commit 6700088d79

View file

@ -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;