gps: use common compilation flag for the same functionality
modify the compilation flag to be in alignment with the location services library Change-Id: Ie65e6e803c50524c0913b1475edbf556a5b7f207 CRs-Fixed: 2299356
This commit is contained in:
parent
4140f7235e
commit
2ed4407e7c
3 changed files with 6 additions and 6 deletions
|
@ -448,7 +448,7 @@ void SystemStatusOsObserver::turnOff(DataItemId dit)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef USE_GLIB
|
||||
#ifdef USE_QCMAP
|
||||
bool SystemStatusOsObserver::connectBackhaul()
|
||||
{
|
||||
bool result = false;
|
||||
|
|
|
@ -84,7 +84,7 @@ public:
|
|||
mSystemStatus(systemstatus), mContext(msgTask, this),
|
||||
mAddress("SystemStatusOsObserver"),
|
||||
mClientToDataItems(MAX_DATA_ITEM_ID), mDataItemToClients(MAX_DATA_ITEM_ID)
|
||||
#ifdef USE_GLIB
|
||||
#ifdef USE_QCMAP
|
||||
, mBackHaulConnectReqCount(0)
|
||||
#endif
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ public:
|
|||
// To set the framework action request object
|
||||
inline void setFrameworkActionReqObj(IFrameworkActionReq* frameworkActionReqObj) {
|
||||
mContext.mFrameworkActionReqObj = frameworkActionReqObj;
|
||||
#ifdef USE_GLIB
|
||||
#ifdef USE_QCMAP
|
||||
if (mBackHaulConnectReqCount > 0) {
|
||||
connectBackhaul();
|
||||
mBackHaulConnectReqCount = 0;
|
||||
|
@ -134,7 +134,7 @@ public:
|
|||
// IFrameworkActionReq Overrides
|
||||
virtual void turnOn(DataItemId dit, int timeOut = 0) override;
|
||||
virtual void turnOff(DataItemId dit) override;
|
||||
#ifdef USE_GLIB
|
||||
#ifdef USE_QCMAP
|
||||
virtual bool connectBackhaul() override;
|
||||
virtual bool disconnectBackhaul();
|
||||
#endif
|
||||
|
@ -151,7 +151,7 @@ private:
|
|||
// Cache the subscribe and requestData till subscription obj is obtained
|
||||
void cacheObserverRequest(ObserverReqCache& reqCache,
|
||||
const list<DataItemId>& l, IDataItemObserver* client);
|
||||
#ifdef USE_GLIB
|
||||
#ifdef USE_QCMAP
|
||||
// Cache the framework action request for connect/disconnect
|
||||
int mBackHaulConnectReqCount;
|
||||
#endif
|
||||
|
|
|
@ -70,7 +70,7 @@ public:
|
|||
*/
|
||||
virtual void turnOff (DataItemId dit) = 0;
|
||||
|
||||
#ifdef USE_GLIB
|
||||
#ifdef USE_QCMAP
|
||||
/**
|
||||
* @brief Setup WWAN backhaul
|
||||
* @details Setup WWAN backhaul
|
||||
|
|
Loading…
Reference in a new issue