commit | 5b483a0c54d7d167a1219593ff6270f1f5c6bfca | [log] [tgz] |
---|---|---|
author | Shinru Han <shinruhan@google.com> | Thu Jun 04 04:33:04 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Jun 04 04:33:04 2020 +0000 |
tree | caf1f917f75081c2126d1cd85c299b8dbd4a085f | |
parent | 8d728f840dee9d70cfab69244b1961223cc089a3 [diff] | |
parent | 457ec7749ef669898812bb947bb6f3b91c136d67 [diff] |
Merge CR2660953 am: 8d1057762d am: 457ec7749e Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/sm7150/gps/+/11685287 Change-Id: Ibff627e60cd9d44cbb6eaad2f21288168d7c1568
diff --git a/android/2.0/location_api/MeasurementAPIClient.cpp b/android/2.0/location_api/MeasurementAPIClient.cpp index b87e508..04e8275 100644 --- a/android/2.0/location_api/MeasurementAPIClient.cpp +++ b/android/2.0/location_api/MeasurementAPIClient.cpp
@@ -362,6 +362,7 @@ static void convertGnssData_2_0(GnssMeasurementsNotification& in, V2_0::IGnssMeasurementCallback::GnssData& out) { + memset(&out, 0, sizeof(V2_0::IGnssMeasurementCallback::GnssData)); out.measurements.resize(in.count); for (size_t i = 0; i < in.count; i++) { convertGnssMeasurement(in.measurements[i], out.measurements[i].v1_1.v1_0);