summaryrefslogtreecommitdiff
path: root/core/LocApiBase.cpp
diff options
context:
space:
mode:
authorNaresh Munagala <nareshm@codeaurora.org>2020-09-18 16:18:12 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2020-11-13 18:58:25 -0800
commitf000bce990ad76b569627f77109aca2d4b5014f9 (patch)
treebe2cd6062f3eadc4c7e3cdab3a37b849fdd74b8b /core/LocApiBase.cpp
parent164123c78e5b3d1b65414e9f5e840725c5d2f693 (diff)
Report Qwes feature capabilities to LCA
- Add Qwes CapabilitiesMask to LocationCapabilitiesMask. Also update type to uint64 to make it future proof. - Update capabilities based on Qwes feature type information from engine hub or modem. Change-Id: I4101255d2b4843358f773014893f61a61439af24 CRs-Fixed: 2807083
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r--core/LocApiBase.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp
index 207849c..50d7369 100644
--- a/core/LocApiBase.cpp
+++ b/core/LocApiBase.cpp
@@ -481,6 +481,14 @@ void LocApiBase::reportLocationSystemInfo(const LocationSystemInfo& locationSyst
TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportLocationSystemInfoEvent(locationSystemInfo));
}
+void LocApiBase::reportQwesCapabilities
+(
+ const std::unordered_map<LocationQwesFeatureType, bool> &featureMap
+)
+{
+ // loop through adapters, and deliver to all adapters.
+ TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportQwesCapabilities(featureMap));
+}
void LocApiBase::requestXtraData()
{
// loop through adapters, and deliver to the first handling adapter.