fix: Add intermediate fixes in gnss debug report
Include intermediate location fix info in gnss debug report that is cached in SystemStatus in addition to final fixes, so that the gnss debug report should always hold the latest information. Change-Id: I60aef92cf6d143a1b4f4b510ca2113887d051dcc CRs-Fixed: 2230415
This commit is contained in:
parent
f6b613a827
commit
5d6ee83608
1 changed files with 2 additions and 1 deletions
|
@ -2292,7 +2292,8 @@ GnssAdapter::reportPositionEvent(const UlpLocation& ulpLocation,
|
|||
inline virtual void proc() const {
|
||||
// extract bug report info - this returns true if consumed by systemstatus
|
||||
SystemStatus* s = mAdapter.getSystemStatus();
|
||||
if ((nullptr != s) && (LOC_SESS_SUCCESS == mStatus)){
|
||||
if ((nullptr != s) &&
|
||||
((LOC_SESS_SUCCESS == mStatus) || (LOC_SESS_INTERMEDIATE == mStatus))){
|
||||
s->eventPosition(mUlpLocation, mLocationExtended);
|
||||
}
|
||||
mAdapter.reportPosition(mUlpLocation, mLocationExtended, mStatus, mTechMask);
|
||||
|
|
Loading…
Reference in a new issue