diff options
author | qctecmdr <qctecmdr@localhost> | 2019-05-09 16:00:16 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-05-09 16:00:16 -0700 |
commit | edf991e3b9d6be7da8b0e8afdfc4b5e0c88fed19 (patch) | |
tree | ed46521a9a33ebcb0972622405fa3c71f9550dd6 /core | |
parent | 331c6d98932dc4b339b92bee65679dd5315c6ec0 (diff) | |
parent | b884edb7c8eac185fffc76bd5261d7b9dd06410d (diff) | |
download | gps-edf991e3b9d6be7da8b0e8afdfc4b5e0c88fed19.tar.gz |
Merge "Set yearOfHw to 2019 if Location Privacy feature is supported"
Diffstat (limited to 'core')
-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 6fad918..5864fa8 100644 --- a/core/LocAdapterBase.cpp +++ b/core/LocAdapterBase.cpp @@ -298,6 +298,9 @@ LocAdapterBase::getCapabilities() if (ContextBase::isFeatureSupported(LOC_SUPPORTED_FEATURE_AGPM_V02)) { mask |= LOCATION_CAPABILITIES_AGPM_BIT; } + if (ContextBase::isFeatureSupported(LOC_SUPPORTED_FEATURE_LOCATION_PRIVACY)) { + mask |= LOCATION_CAPABILITIES_PRIVACY_BIT; + } } else { LOC_LOGE("%s]: attempt to get capabilities before they are known.", __func__); } |