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

Skip to content
Commit ab10bb1e authored by Sunid Wilson's avatar Sunid Wilson Committed by Linux Build Service Account
Browse files

Camera: Fix deadlock due to mLock in pcb and takepicture.

In non-zsl case of takepicture, we do streamoff for preview
stream which is waiting on preview callback thread to exit.
By that time the lock has already been acquired by takePicture.
So preivew callback will not exit until it acquires lock and
takePicture cannot continue until PCB call back is returned.
Fix: Avoid the mLock at services when both Preview cb &
Compressed cb are enabled.
(cherrypicked from commit bd423581f4b7eb8481f5525fc51174ce4c7261bc

Change-Id: If8b2d7465b279386f06eeeb4fee51cf73ca5ee41
parent 289a728a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment