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

Commit 4035a9be 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: I0ee6d122ec309c04861654d112a8444a9263a299
parents eff4716f 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()) {