sm8450-common: gps: HAL: Location compilation bringup for wearables

Enable few more important compilation flags which will consider
warnings as errors. Most of these flags were configured to be
only warning for mobile SPs, but for wearable SPs some of them
are configured to be errors. So configure these as in common
GNSS flags so that same set of flags could be applied to mobile
SPs too.
Fix compilation errors which were showing up, when these flags
were enabled.

Change-Id: I62ef74419d4416252dfc8b25251ba3a51d522bfd
CRs-Fixed: 3292623
This commit is contained in:
Vamana Murthi
2022-09-09 23:31:05 +05:30
committed by Arian
parent 8ab15e722f
commit cd7a05c656
16 changed files with 110 additions and 29 deletions

View File

@@ -919,8 +919,6 @@ GeofenceAdapter::updateSystemPowerStateCommand(PowerStateType powerState)
void
GeofenceAdapter::pauseOrResumeGeofences(bool pauseOrResume /*false - pause, true - resume*/)
{
LocationError error;
for (auto it = mGeofenceIds.begin(); it != mGeofenceIds.end(); ++it) {
uint32_t hwId = it->second;