sm8450-common: gps: Remove getCapablities impl from gnss adapter

getCapablities impl is moved to LocAdapterBase
class as for QWES unify. All the adapters should use the
same implementation.

CRs-fixed: 3609221
Change-Id: I0e9f7af1437af47f20e27a9bad94231c594753c7
This commit is contained in:
Nilesh Gharde
2023-09-06 22:35:28 -07:00
committed by Arian
parent 5e81e4bd4c
commit 1a74532ea6
4 changed files with 11 additions and 49 deletions

View File

@@ -362,6 +362,9 @@ LocAdapterBase::getCapabilities()
if ((ContextBase::getQwesFeatureStatus() & LOCATION_CAPABILITIES_QWES_PPE)) {
mask |= LOCATION_CAPABILITIES_QWES_PPE;
}
if (ContextBase::isFeatureSupported(LOC_SUPPORTED_FEATURE_ENGINE_DEBUG_DATA)) {
mask |= LOCATION_CAPABILITIES_ENGINE_DEBUG_DATA_BIT;
}
//Get QWES feature status mask
mask |= ContextBase::getQwesFeatureStatus();
//Get HW feature status mask