sm8450-common: gps: Loc QWES check unify
1 Add context call to get location qwes feature status directly. 2 Add data item to dispatch location qwes feature status. 3 EngineHub uses context call to get location qwes feature status. 4 xtwifi uses data item registration to get location qwes feature status. Change-Id: I489b7fadf2b06a4517ac4b362b6ff4d204f94080 CRs-Fixed: 3435284
This commit is contained in:
@@ -495,6 +495,8 @@ void LocApiBase::reportQwesCapabilities
|
||||
const std::unordered_map<LocationQwesFeatureType, bool> &featureMap
|
||||
)
|
||||
{
|
||||
//Set Qwes feature status map in ContextBase
|
||||
ContextBase::setQwesFeatureStatus(featureMap);
|
||||
// loop through adapters, and deliver to all adapters.
|
||||
TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportQwesCapabilities(featureMap));
|
||||
}
|
||||
|
Reference in New Issue
Block a user