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

Commit f8a4e2ae authored by Pierre Couillaud's avatar Pierre Couillaud Committed by Hongguang Chen
Browse files

Fix closure of record thread

Bug: 197763854
Fix: 197763854
Change-Id: I8c3e843ddac6ad77aecaca7c91f0884204145ee6
parent c11fad6a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -204,6 +204,7 @@ bool DvrCallback::readRecordFMQ() {
void DvrCallback::stopRecordThread() {
    mKeepReadingRecordFMQ = false;
    mRecordThreadRunning = false;
    android::Mutex::Autolock autoLock(mRecordThreadLock);
}

AssertionResult DvrTests::openDvrInDemux(DvrType type, uint32_t bufferSize) {