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

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

Merge "Audio: Ensure input stream gets closed on the audio HAL server side"

parents 128f565f eb794151
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -117,6 +117,10 @@ TEST_F(AudioPrimaryHidlTest, GetMicrophonesTest) {
                ASSERT_NE(0U, activeMicrophones.size());
            }
            stream->close();
            // Workaround for b/139329877. Ensures the stream gets closed on the audio hal side.
            stream.clear();
            IPCThreadState::self()->flushCommands();
            usleep(1000);
            if (efGroup) {
                EventFlag::deleteEventFlag(&efGroup);
            }