diff options
author | Mike Cailean <mcailean@codeaurora.org> | 2018-09-18 17:32:16 -0700 |
---|---|---|
committer | Mike Cailean <mcailean@codeaurora.org> | 2018-10-01 09:56:09 -0700 |
commit | 6700088d79e006afe49c124b556d3873f4174404 (patch) | |
tree | cf2da6aa65535df9578aad301141ba4dfd6df62b /gnss | |
parent | 9ae180b91354337eb840ba3d0c1975270caf0e7d (diff) | |
download | gps-6700088d79e006afe49c124b556d3873f4174404.tar.gz |
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
Diffstat (limited to 'gnss')
-rw-r--r-- | gnss/GnssAdapter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnss/GnssAdapter.cpp b/gnss/GnssAdapter.cpp index 04ac187..c6ed587 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; |