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

Commit eae33279 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5716220 from e8e1c696 to qt-c2f2-release

Change-Id: Ia3c4f112dcfccdee6c4a0f70ef55511c477a682d
parents cb886f8a e8e1c696
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -77,10 +77,13 @@ status_t Visualizer::setEnabled(bool enabled)
    if (t != 0) {
        if (enabled) {
            if (t->exitPending()) {
                mCaptureLock.unlock();
                if (t->requestExitAndWait() == WOULD_BLOCK) {
                    mCaptureLock.lock();
                    ALOGE("Visualizer::enable() called from thread");
                    return INVALID_OPERATION;
                }
                mCaptureLock.lock();
            }
        }
        t->mLock.lock();