diff options
author | Scott Lobdell <slobdell@google.com> | 2019-02-05 23:29:57 -0800 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2019-02-06 19:31:20 +0000 |
commit | 1c5b5d75ceeeae9b4902bd62d2907a0b40d22f26 (patch) | |
tree | 6a542cdf2e2e37f83041151f2d2de9046e58eabf /sensors/2.0/vts/functional/VtsHalSensorsV2_0TargetTest.cpp | |
parent | 44c873c6ea9ddae6188f5925dbc25958edd962c1 (diff) | |
parent | 7dc0a011c2f9fa7221003b2b6859299e88405713 (diff) |
Merge QP1A.190205.002
Change-Id: I00eea204467afb5984b2dbcc87d8e8ff82aac307
Diffstat (limited to 'sensors/2.0/vts/functional/VtsHalSensorsV2_0TargetTest.cpp')
-rw-r--r-- | sensors/2.0/vts/functional/VtsHalSensorsV2_0TargetTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sensors/2.0/vts/functional/VtsHalSensorsV2_0TargetTest.cpp b/sensors/2.0/vts/functional/VtsHalSensorsV2_0TargetTest.cpp index 4a1f8f111d..39053fe75f 100644 --- a/sensors/2.0/vts/functional/VtsHalSensorsV2_0TargetTest.cpp +++ b/sensors/2.0/vts/functional/VtsHalSensorsV2_0TargetTest.cpp @@ -51,7 +51,7 @@ class EventCallback : public IEventCallback { } void onEvent(const ::android::hardware::sensors::V1_0::Event& event) override { - if (event.sensorType == SensorType::ADDITIONAL_INFO && + if (event.sensorType == SensorType::META_DATA && event.u.meta.what == MetaDataEventType::META_DATA_FLUSH_COMPLETE) { std::unique_lock<std::recursive_mutex> lock(mFlushMutex); mFlushMap[event.sensorHandle]++; |