Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c57ee9e0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add the missing unregisterCallback call" into rvc-dev am: eac1cdbb

Change-Id: Ib273274fbd4e400ce14450da445e62487413f2c2
parents 905d3b77 eac1cdbb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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()) {