diff options
author | haohuang <haohuang@codeaurora.org> | 2020-03-29 14:19:52 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-05-19 14:55:16 -0700 |
commit | 0289523065415da7b66763a500639b8b5c2c186b (patch) | |
tree | 56cbcf7f27bd679ea7c1ded8d3b8da55f131b4b0 /core/LocAdapterBase.cpp | |
parent | 4caea19769457637f116d1da998ff4f8da1544ee (diff) |
Support robust location info report via LOC HIDL API
Change-Id: Ia660a038fd0acbb60f353ce04081882ef2b7f2ff
CRs-Fixed: 2666239
Diffstat (limited to 'core/LocAdapterBase.cpp')
-rw-r--r-- | core/LocAdapterBase.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/LocAdapterBase.cpp b/core/LocAdapterBase.cpp index 0ce9816..4accd41 100644 --- a/core/LocAdapterBase.cpp +++ b/core/LocAdapterBase.cpp @@ -316,6 +316,9 @@ LocAdapterBase::getCapabilities() if (ContextBase::isFeatureSupported(LOC_SUPPORTED_FEATURE_MEASUREMENTS_CORRECTION)) { mask |= LOCATION_CAPABILITIES_MEASUREMENTS_CORRECTION_BIT; } + if (ContextBase::isFeatureSupported(LOC_SUPPORTED_FEATURE_ROBUST_LOCATION)) { + mask |= LOCATION_CAPABILITIES_CONFORMITY_INDEX_BIT; + } } else { LOC_LOGE("%s]: attempt to get capabilities before they are known.", __func__); } |