diff options
author | Bhavna Sharma <sbhavna@codeaurora.org> | 2019-01-24 16:18:38 -0800 |
---|---|---|
committer | Bhavna Sharma <sbhavna@codeaurora.org> | 2019-01-28 12:05:32 -0800 |
commit | 49c60ab27a04ab0f0f41b62181c5539b4e671842 (patch) | |
tree | d98fd89d7f8606b8eed503ca70deee5566c1add6 /location/LocationDataTypes.h | |
parent | 47b591383b447b5c64e9e0ee706f1a4ca69c7d33 (diff) | |
download | gps-49c60ab27a04ab0f0f41b62181c5539b4e671842.tar.gz |
LocationAPI must also be freed on destroy call
LocationAPI object instance itself must also be freed when
destroy is called.
CRs-Fixed: 2388028
Change-Id: Ie6e1c34e126a10ea58076c0385aecd447233c7aa
Diffstat (limited to 'location/LocationDataTypes.h')
-rw-r--r-- | location/LocationDataTypes.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/location/LocationDataTypes.h b/location/LocationDataTypes.h index 61598be..1590b88 100644 --- a/location/LocationDataTypes.h +++ b/location/LocationDataTypes.h @@ -1277,6 +1277,13 @@ typedef std::function<void( typedef std::function<void( )> locationApiDestroyCompleteCallback; +typedef uint16_t LocationAdapterTypeMask; +typedef enum { + LOCATION_ADAPTER_GNSS_TYPE_BIT = (1<<0), // adapter type is GNSS + LOCATION_ADAPTER_FLP_TYPE_BIT = (1<<1), // adapter type is FLP + LOCATION_ADAPTER_GEOFENCE_TYPE_BIT = (1<<2) // adapter type is geo fence +} LocationAdapterTypeBits; + typedef struct { size_t size; // set to sizeof(LocationCallbacks) capabilitiesCallback capabilitiesCb; // mandatory |