summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorqctecmdr <qctecmdr@localhost>2019-06-01 20:09:58 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-06-01 20:09:58 -0700
commit052afd6e47e58c88f00ea353f601592d308cbc72 (patch)
tree637461ed7ae2b9599cd02539d65d5ca0afd4b381 /android
parent5a5989edd8a78dca5332cc913a9a37a2120b20d0 (diff)
parent41a8510ce10241134f4a9b86d9e1182d06f96cde (diff)
downloadgps-052afd6e47e58c88f00ea353f601592d308cbc72.tar.gz
Merge "KW issues on LA.UM.8.12"
Diffstat (limited to 'android')
-rw-r--r--android/2.0/location_api/MeasurementAPIClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/2.0/location_api/MeasurementAPIClient.cpp b/android/2.0/location_api/MeasurementAPIClient.cpp
index eb0c7d1..dc972ec 100644
--- a/android/2.0/location_api/MeasurementAPIClient.cpp
+++ b/android/2.0/location_api/MeasurementAPIClient.cpp
@@ -217,7 +217,7 @@ void MeasurementAPIClient::onGnssMeasurementsCb(
static void convertGnssMeasurement(GnssMeasurementsData& in,
V1_0::IGnssMeasurementCallback::GnssMeasurement& out)
{
- memset(&out, 0, sizeof(IGnssMeasurementCallback::GnssMeasurement));
+ memset(&out, 0, sizeof(out));
if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT)
out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_SNR;
if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT)