Commit 4bb6ead2 authored by Kevin Chan's avatar Kevin Chan
Browse files

msm: camera: send error to HAL if daemon crashed



When camera userspace daemon crashes, the server fd
will be close, which trigger the msm_server_close
function, we will check if there is an active camera
session. If camera is active, we will send a v4l2
event to HAL layer to signal an error. Application
will exit gracefully and close other open fds and
exit camera session.

Change-Id: I14ebc864d6cace7ca6f4dbfb935623a76eeccaa8
Signed-off-by: default avatarKevin Chan <ktchan@codeaurora.org>
parent 91ec12ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment