Merge "Skip position filtering for telematics"
This commit is contained in:
commit
6f17924602
1 changed files with 6 additions and 1 deletions
|
@ -2872,7 +2872,12 @@ GnssAdapter::needReport(const UlpLocation& ulpLocation,
|
||||||
enum loc_sess_status status,
|
enum loc_sess_status status,
|
||||||
LocPosTechMask techMask) {
|
LocPosTechMask techMask) {
|
||||||
bool reported = false;
|
bool reported = false;
|
||||||
if (LOC_SESS_SUCCESS == status) {
|
|
||||||
|
// if engine hub is enabled, aka, any of the engine services is enabled,
|
||||||
|
// then always output position reported by engine hub to requesting client
|
||||||
|
if (true == initEngHubProxy()) {
|
||||||
|
reported = true;
|
||||||
|
} else if (LOC_SESS_SUCCESS == status) {
|
||||||
// this is a final fix
|
// this is a final fix
|
||||||
LocPosTechMask mask =
|
LocPosTechMask mask =
|
||||||
LOC_POS_TECH_MASK_SATELLITE | LOC_POS_TECH_MASK_SENSORS | LOC_POS_TECH_MASK_HYBRID;
|
LOC_POS_TECH_MASK_SATELLITE | LOC_POS_TECH_MASK_SENSORS | LOC_POS_TECH_MASK_HYBRID;
|
||||||
|
|
Loading…
Reference in a new issue