mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Merge "Add the missing unregisterCallback call" into rvc-dev am: eac1cdbba9 am: 4035a9be3d
Change-Id: I7931dae286ce5715397ad43f2770cd5709fc1056
This commit is contained in:
@@ -737,6 +737,8 @@ TEST_P(SensorsHidlTest, NoStaleEvents) {
|
||||
callback.waitForEvents(sensors, kFiveHundredMs + (5 * maxMinDelay));
|
||||
activateAllSensors(false);
|
||||
|
||||
getEnvironment()->unregisterCallback();
|
||||
|
||||
for (const SensorInfoType& sensor : sensors) {
|
||||
// Skip sensors that did not previously report an event
|
||||
if (lastEventTimestampMap.find(sensor.sensorHandle) == lastEventTimestampMap.end()) {
|
||||
|
||||
Reference in New Issue
Block a user