summaryrefslogtreecommitdiff
path: root/core/LocAdapterBase.cpp
diff options
context:
space:
mode:
authorBhavna Sharma <sbhavna@codeaurora.org>2018-03-30 17:10:59 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-04-12 13:24:57 -0700
commite5c31f33c1fac9129b7141c62d61826dfc041a54 (patch)
tree98f568a2e0a91d926028f11b6c69960b60f5009a /core/LocAdapterBase.cpp
parent82d0efd99ae4aa5643d6fa844f44c850fa008cc5 (diff)
GPS Adapter: GNSS adapter change to go with engine hub aggregator
1: GNSS adapter change to block out position and SV report from ULP when engine hub aggregator is used 2: Support unpropagated position report Change-Id: Id0cacd87d3f3f8eec893d751b9f7a55a736a4023 CRs-fixed: 2210253
Diffstat (limited to 'core/LocAdapterBase.cpp')
-rw-r--r--core/LocAdapterBase.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/LocAdapterBase.cpp b/core/LocAdapterBase.cpp
index f3c999c..5d1b2c2 100644
--- a/core/LocAdapterBase.cpp
+++ b/core/LocAdapterBase.cpp
@@ -79,7 +79,7 @@ void LocAdapterBase::
const GpsLocationExtended& locationExtended,
enum loc_sess_status status,
LocPosTechMask loc_technology_mask,
- bool /*fromUlp*/) {
+ bool /*fromUlp*/, bool /*fromEngineHub*/) {
if (mLocAdapterProxyBase != NULL) {
mLocAdapterProxyBase->reportPositionEvent((UlpLocation&)location,
(GpsLocationExtended&)locationExtended,
@@ -91,7 +91,8 @@ void LocAdapterBase::
}
void LocAdapterBase::
- reportSvEvent(const GnssSvNotification& /*svNotify*/, bool /*fromUlp*/)
+ reportSvEvent(const GnssSvNotification& /*svNotify*/,
+ bool /*fromUlp*/, bool /*fromEngineHub*/)
DEFAULT_IMPL()
void LocAdapterBase::