Fix for vertical accuracy field missing on SDK APIs
Field flag VERTICAL_ACCURACY_BIT changed definition internally in HAL, and was mapped 1 to 1 to LocHidlLocationFlagsBits. Fixed by adding a proper remapping function. Change-Id: Ida510c2b54568208ffa28e7c017f22a7f0e3f11c CRs-fixed: 2317059
This commit is contained in:
parent
033a0fa1c6
commit
935c00192e
1 changed files with 4 additions and 0 deletions
|
@ -102,6 +102,10 @@ typedef uint16_t LocGpsLocationFlags;
|
|||
#define LOC_GPS_LOCATION_HAS_VERT_UNCERTAINITY 0x0040
|
||||
/** LocGpsLocation has valid spoof mask */
|
||||
#define LOC_GPS_LOCATION_HAS_SPOOF_MASK 0x0080
|
||||
/** LocGpsLocation has valid speed accuracy */
|
||||
#define LOC_GPS_LOCATION_HAS_SPEED_ACCURACY 0x0100
|
||||
/** LocGpsLocation has valid bearing accuracy */
|
||||
#define LOC_GPS_LOCATION_HAS_BEARING_ACCURACY 0x0200
|
||||
|
||||
/** Spoof mask in LocGpsLocation */
|
||||
typedef uint32_t LocGpsSpoofMask;
|
||||
|
|
Loading…
Reference in a new issue