Send ENGINE_OFF when stop tracking

fix typo in function onStopTrackingCb,
send ENGINE_OFF instead of ENGINE_ON

Change-Id: I0e4a73f25283cf172caeaa74e3bc385020b660ff
CRs-fixed: 2025876
This commit is contained in:
Baili Feng 2017-04-06 15:56:54 +08:00
parent 6d08089e6d
commit 909d752d60

View file

@ -379,7 +379,7 @@ void GnssAPIClient::onStopTrackingCb(LocationError error)
LOC_LOGD("%s]: (%d)", __FUNCTION__, error);
if (error == LOCATION_ERROR_SUCCESS && mGnssCbIface != nullptr) {
mGnssCbIface->gnssStatusCb(IGnssCallback::GnssStatusValue::SESSION_END);
mGnssCbIface->gnssStatusCb(IGnssCallback::GnssStatusValue::ENGINE_ON);
mGnssCbIface->gnssStatusCb(IGnssCallback::GnssStatusValue::ENGINE_OFF);
}
}