Commit graph

5 commits

Author SHA1 Message Date
Michael Bestas
3094f39138 sm8450-common: gps: Resolve unused parameter warnings
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2024-03-19 23:22:37 +01:00
Arian
946f3651cd sm8450-common: gps: Let qualityLevelAccepted use loc_sess_status enum
device/xiaomi/sm8450-common/gps/gnss/GnssAdapter.cpp:4111:49: error: comparison of different enumeration types ('FixQualityLevel' and 'enum loc_sess_status') [-Werror,-Wenum-compare]
                it->second.qualityLevelAccepted >= status) {
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~

Change-Id: I9decccb88a51760806eab080d5ad92d90d9b87cd
2024-03-19 23:22:37 +01:00
Bhavna Sharma
fdb5c2ae4e sm8450-common: gps: Move qualityLevelAccepted field into LocationOptions
CRs-Fixed: 3131344

Change-Id: Ifec0a57325ea8127f76b8e1896124a64666f41ce
2024-03-19 23:22:37 +01:00
Vamana Murthi
cd7a05c656 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
2024-03-19 23:22:37 +01:00
Arian
b9fdaff70a sm8450-common: Import gps from LA.VENDOR.1.0.r1-12800-WAIPIO.0
Change-Id: Ia76265a8c3326f2b5f9f260ce98807276af80ee3
2024-03-19 23:22:37 +01:00