Remove deprecated api LocEngExtPowerConfig
LocEngExtPowerConfig is no longer necessary. Remove it from libloc_eng. CRs-fixed: 1047042 Change-Id: I4a053e13a571f4a373899559d82e144f9bc82582
This commit is contained in:
parent
7124f9f705
commit
f58ae31d1b
4 changed files with 0 additions and 34 deletions
|
@ -515,10 +515,6 @@ enum loc_api_adapter_err LocApiBase::
|
|||
int algorithmConfig)
|
||||
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
||||
|
||||
enum loc_api_adapter_err LocApiBase::
|
||||
setExtPowerConfig(int isBatteryCharging)
|
||||
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
||||
|
||||
enum loc_api_adapter_err LocApiBase::
|
||||
setAGLONASSProtocol(unsigned long aGlonassProtocol)
|
||||
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
||||
|
|
|
@ -204,8 +204,6 @@ public:
|
|||
int gyroSamplesPerBatchHigh,
|
||||
int gyroBatchesPerSecHigh,
|
||||
int algorithmConfig);
|
||||
virtual enum loc_api_adapter_err
|
||||
setExtPowerConfig(int isBatteryCharging);
|
||||
virtual enum loc_api_adapter_err
|
||||
setAGLONASSProtocol(unsigned long aGlonassProtocol);
|
||||
virtual enum loc_api_adapter_err
|
||||
|
|
|
@ -229,11 +229,6 @@ public:
|
|||
gyroSamplesPerBatchHigh, gyroBatchesPerSecHigh,
|
||||
algorithmConfig);
|
||||
}
|
||||
inline virtual enum loc_api_adapter_err
|
||||
setExtPowerConfig(int isBatteryCharging)
|
||||
{
|
||||
return mLocApi->setExtPowerConfig(isBatteryCharging);
|
||||
}
|
||||
inline virtual enum loc_api_adapter_err
|
||||
setAGLONASSProtocol(unsigned long aGlonassProtocol)
|
||||
{
|
||||
|
|
|
@ -757,29 +757,6 @@ struct LocEngSensorPerfControlConfig : public LocMsg {
|
|||
}
|
||||
};
|
||||
|
||||
// case LOC_ENG_MSG_EXT_POWER_CONFIG:
|
||||
struct LocEngExtPowerConfig : public LocMsg {
|
||||
LocEngAdapter* mAdapter;
|
||||
const int mIsBatteryCharging;
|
||||
inline LocEngExtPowerConfig(LocEngAdapter* adapter,
|
||||
int isBatteryCharging) :
|
||||
LocMsg(), mAdapter(adapter),
|
||||
mIsBatteryCharging(isBatteryCharging)
|
||||
{
|
||||
locallog();
|
||||
}
|
||||
inline virtual void proc() const {
|
||||
mAdapter->setExtPowerConfig(mIsBatteryCharging);
|
||||
}
|
||||
inline void locallog() const {
|
||||
LOC_LOGV("LocEngExtPowerConfig - isBatteryCharging: %d",
|
||||
mIsBatteryCharging);
|
||||
}
|
||||
inline virtual void log() const {
|
||||
locallog();
|
||||
}
|
||||
};
|
||||
|
||||
// case LOC_ENG_MSG_REPORT_POSITION:
|
||||
LocEngReportPosition::LocEngReportPosition(LocAdapterBase* adapter,
|
||||
UlpLocation &loc,
|
||||
|
|
Loading…
Reference in a new issue