Sending FLP fixes to ULP

For crowd sourcing, FLP HAL needs to share
with ULP the flp fixes in real time. This
change is making FLP HAL to send flp fixes
to ULP.

Change-Id: I1a852ec69db8eb50de5c18b03205d1b488cfd4b0
CRs-fixed: 874928 878064
This commit is contained in:
Jiafei Wen 2015-09-10 09:23:24 -07:00 committed by Gerrit - the friendly Code Review server
parent c40ded235a
commit eb01e397ed
3 changed files with 4 additions and 4 deletions

View file

@ -72,6 +72,7 @@ void LocAdapterBase::
LocPosTechMask loc_technology_mask) {
if (mLocAdapterProxyBase == NULL ||
!mLocAdapterProxyBase->reportPosition(location,
locationExtended,
status,
loc_technology_mask)) {
DEFAULT_IMPL()

View file

@ -58,6 +58,7 @@ public:
inline virtual void handleEngineUpEvent() {};
inline virtual void handleEngineDownEvent() {};
inline virtual bool reportPosition(UlpLocation &location,
GpsLocationExtended &locationExtended,
enum loc_sess_status status,
LocPosTechMask loc_technology_mask) {
return false;

View file

@ -73,10 +73,8 @@ public:
bool active) {
return false;
}
inline virtual bool reportPositions(FlpExtLocation * locations,
int32_t number_of_locations,
enum loc_sess_status status,
LocPosTechMask techMask) {
inline virtual bool reportPositions(const FlpExtLocation* locations,
int32_t number_of_locations) {
return false;
}
};