summaryrefslogtreecommitdiff
path: root/core/LocAdapterBase.cpp
diff options
context:
space:
mode:
authorJoaquins <joaquins@codeaurora.org>2020-04-22 15:18:41 -0700
committerjoaquins <joaquins@codeaurora.org>2020-06-04 17:06:53 -0700
commitc9bf7d3a790e69e9d1aa3eb53cc5188c45b821f4 (patch)
tree314ed8f19179baf63d41e0056f246130c305adb8 /core/LocAdapterBase.cpp
parent71faa55f318f0ed9ddb03d5ae30144a942f69919 (diff)
Precise Location LocationAPI changes
Implementation of Precise Location new API in LocationAPI layer. Change-Id: I5e2cfedb41ae3b2068050847bcb3d6eb4abad250
Diffstat (limited to 'core/LocAdapterBase.cpp')
-rw-r--r--core/LocAdapterBase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/LocAdapterBase.cpp b/core/LocAdapterBase.cpp
index 4accd41..5ada84b 100644
--- a/core/LocAdapterBase.cpp
+++ b/core/LocAdapterBase.cpp
@@ -319,6 +319,9 @@ LocAdapterBase::getCapabilities()
if (ContextBase::isFeatureSupported(LOC_SUPPORTED_FEATURE_ROBUST_LOCATION)) {
mask |= LOCATION_CAPABILITIES_CONFORMITY_INDEX_BIT;
}
+ if (ContextBase::isFeatureSupported(LOC_SUPPORTED_FEATURE_EDGNSS)) {
+ mask |= LOCATION_CAPABILITIES_EDGNSS_BIT;
+ }
} else {
LOC_LOGE("%s]: attempt to get capabilities before they are known.", __func__);
}