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:
parent
9ae180b913
commit
6700088d79
1 changed files with 1 additions and 0 deletions
|
@ -2938,6 +2938,7 @@ GnssAdapter::reportPosition(const UlpLocation& ulpLocation,
|
||||||
LocPosTechMask techMask)
|
LocPosTechMask techMask)
|
||||||
{
|
{
|
||||||
bool reported = needReport(ulpLocation, status, techMask);
|
bool reported = needReport(ulpLocation, status, techMask);
|
||||||
|
mGnssSvIdUsedInPosAvail = false;
|
||||||
if (reported) {
|
if (reported) {
|
||||||
if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_GNSS_SV_USED_DATA) {
|
if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_GNSS_SV_USED_DATA) {
|
||||||
mGnssSvIdUsedInPosAvail = true;
|
mGnssSvIdUsedInPosAvail = true;
|
||||||
|
|
Loading…
Reference in a new issue