diff options
author | Dante Russo <drusso@codeaurora.org> | 2016-05-26 14:35:31 -0700 |
---|---|---|
committer | Dante Russo <drusso@codeaurora.org> | 2016-05-27 15:56:43 -0700 |
commit | 183e295b9b7fef1166c6bd0b1778dffd2321627a (patch) | |
tree | 87ebffa5d43ba6d823755ed53497595d17627504 /core/LocAdapterProxyBase.h | |
parent | 35877af173aeb6363b77f3a1a3d024cb85ce590f (diff) | |
download | gps-183e295b9b7fef1166c6bd0b1778dffd2321627a.tar.gz |
Move local gps/sap configuration to Context
gps/sap configuration is moved from a global
variable in loc eng to a static in ContextBase,
so that it is more accessible without having to
link with loc eng for access.
CRs-fixed: 1012772
Change-Id: I74bf456b44fab3a2db016ef4c4b4b3a2b8cde1b2
Diffstat (limited to 'core/LocAdapterProxyBase.h')
-rw-r--r-- | core/LocAdapterProxyBase.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/LocAdapterProxyBase.h b/core/LocAdapterProxyBase.h index 11859de..82cba6b 100644 --- a/core/LocAdapterProxyBase.h +++ b/core/LocAdapterProxyBase.h @@ -46,15 +46,15 @@ protected: inline virtual ~LocAdapterProxyBase() { delete mLocAdapterBase; } - ContextBase* getContext() const { - return mLocAdapterBase->getContext(); - } inline void updateEvtMask(LOC_API_ADAPTER_EVENT_MASK_T event, loc_registration_mask_status isEnabled) { mLocAdapterBase->updateEvtMask(event,isEnabled); } public: + inline ContextBase* getContext() const { + return mLocAdapterBase->getContext(); + } inline virtual void handleEngineUpEvent() {}; inline virtual void handleEngineDownEvent() {}; inline virtual bool reportPosition(UlpLocation &location, |