Merge "Throw away initial measurements before interval tests" into android13-tests-dev am: 86206d71ca
am: 40fe84ef46
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2506037 Change-Id: I041a48e41861afe22aee704e080a0f3f05a76eb9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
1e591051f8
1 changed files with 1 additions and 0 deletions
|
@ -447,6 +447,7 @@ void GnssHalTest::collectMeasurementIntervals(const sp<GnssMeasurementCallbackAi
|
|||
const int numMeasurementEvents,
|
||||
const int timeoutSeconds,
|
||||
std::vector<int>& deltasMs) {
|
||||
callback->gnss_data_cbq_.reset(); // throw away the initial measurements if any
|
||||
int64_t lastElapsedRealtimeMillis = 0;
|
||||
for (int i = 0; i < numMeasurementEvents; i++) {
|
||||
GnssData lastGnssData;
|
||||
|
|
Loading…
Reference in a new issue