diff options
author | Mike Cailean <mcailean@codeaurora.org> | 2019-02-11 09:11:09 -0800 |
---|---|---|
committer | Mike Cailean <mcailean@codeaurora.org> | 2019-03-21 14:57:28 -0700 |
commit | b046241ec2fdc9a48e99face1794046488a8cabe (patch) | |
tree | ccbe677775add604af707618bd76ec5d51e5afc5 /location/LocationDataTypes.h | |
parent | 1839fb1140242da10a6a599e65a7b79836007517 (diff) | |
download | gps-b046241ec2fdc9a48e99face1794046488a8cabe.tar.gz |
Improved Location NI Privacy
Changes to be made starting in Android Q in the way
that Location requests made by Location clients
other than the Android FrameWork (e.g. Network
Initiated AGNSS clients, modem-based clients such
as MDT) are handled
CRs-fixed: 2397454
Change-Id: Ibb5b9429a1ec1e14ee59d89763d8a78607997615
Diffstat (limited to 'location/LocationDataTypes.h')
-rw-r--r-- | location/LocationDataTypes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/location/LocationDataTypes.h b/location/LocationDataTypes.h index f60ba78..0a2c060 100644 --- a/location/LocationDataTypes.h +++ b/location/LocationDataTypes.h @@ -306,6 +306,7 @@ typedef enum { GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT = (1<<8), GNSS_CONFIG_FLAGS_SUPL_MODE_BIT = (1<<9), GNSS_CONFIG_FLAGS_BLACKLISTED_SV_IDS_BIT = (1<<10), + GNSS_CONFIG_FLAGS_EMERGENCY_EXTENSION_SECONDS_BIT = (1<<11), } GnssConfigFlagsBits; typedef enum { @@ -1109,6 +1110,7 @@ struct GnssConfig{ GnssConfigSuplEmergencyServices suplEmergencyServices; GnssConfigSuplModeMask suplModeMask; //bitwise OR of GnssConfigSuplModeBits std::vector<GnssSvIdSource> blacklistedSvIds; + uint32_t emergencyExtensionSeconds; inline bool equals(const GnssConfig& config) { if (flags == config.flags && @@ -1122,7 +1124,8 @@ struct GnssConfig{ emergencyPdnForEmergencySupl == config.emergencyPdnForEmergencySupl && suplEmergencyServices == config.suplEmergencyServices && suplModeMask == config.suplModeMask && - blacklistedSvIds == config.blacklistedSvIds) { + blacklistedSvIds == config.blacklistedSvIds && + emergencyExtensionSeconds == config.emergencyExtensionSeconds) { return true; } return false; |