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 Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
This commit is contained in:
parent
c79c1937ef
commit
1e14af1e4c
1 changed files with 1 additions and 0 deletions
|
@ -2091,6 +2091,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;
|
||||
|
|
Loading…
Reference in a new issue