summaryrefslogtreecommitdiff
path: root/core/LocAdapterProxyBase.h
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2014-04-02 14:23:39 -0700
committerDante Russo <drusso@codeaurora.org>2014-04-03 14:41:53 -0700
commitf9a26b2a68082f8de9c8167632d27be095a8fabf (patch)
treef2116c9d9ce529025a6209896e3cb992caa7183a /core/LocAdapterProxyBase.h
parent971493d8bbd920f3fed083965e975fb8897c3919 (diff)
downloadgps-f9a26b2a68082f8de9c8167632d27be095a8fabf.tar.gz
Inject location only on CPI disabled
Includes inject API from GPS HAL and FLP HAL CRs-fixed: 640452 Change-Id: Ied947e2862fb9ecca0142f9608cdcc889cac8a2b
Diffstat (limited to 'core/LocAdapterProxyBase.h')
-rw-r--r--core/LocAdapterProxyBase.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/LocAdapterProxyBase.h b/core/LocAdapterProxyBase.h
index adc868c..25af10b 100644
--- a/core/LocAdapterProxyBase.h
+++ b/core/LocAdapterProxyBase.h
@@ -46,6 +46,9 @@ protected:
inline virtual ~LocAdapterProxyBase() {
delete mLocAdapterBase;
}
+ ContextBase* getContext() const {
+ return mLocAdapterBase->getContext();
+ }
public:
inline virtual void handleEngineUpEvent() {};
inline virtual void handleEngineDownEvent() {};
@@ -53,4 +56,4 @@ public:
} // namespace loc_core
-#endif //LOC_ADAPTER_PROXY_BASE_H \ No newline at end of file
+#endif //LOC_ADAPTER_PROXY_BASE_H