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

Commit 7b15fd37 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add the missing unregisterCallback call"

parents c3bfce63 226761ce
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -898,6 +898,8 @@ TEST_P(SensorsHidlTest, NoStaleEvents) {
    callback.waitForEvents(sensors, kFiveHundredMs + (5 * maxMinDelay));
    activateAllSensors(false);

    getEnvironment()->unregisterCallback();

    for (const SensorInfo& sensor : sensors) {
        // Skip sensors that did not previously report an event
        if (lastEventTimestampMap.find(sensor.sensorHandle) == lastEventTimestampMap.end()) {