summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMike Cailean <mcailean@codeaurora.org>2019-05-02 17:09:25 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-05-06 10:12:52 -0700
commitb884edb7c8eac185fffc76bd5261d7b9dd06410d (patch)
tree9c6301f671fbf46ddd9a9a7281a3a20feee4a469 /core
parente8c1730e91fe1c743b6798cb78551bea67718617 (diff)
downloadgps-b884edb7c8eac185fffc76bd5261d7b9dd06410d.tar.gz
Set yearOfHw to 2019 if Location Privacy feature
is supported Change-Id: If5ee31603491c83652082ce295abfcf9c9fec511 CRs-fixed: 2446241
Diffstat (limited to 'core')
-rw-r--r--core/LocAdapterBase.cpp3
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__);
}