| commit | 4bb6ead226a37531bf7a9c272b6a805b0d674567 | [log] [tgz] |
|---|---|---|
| author | Kevin Chan <ktchan@codeaurora.org> | Wed Feb 29 01:01:41 2012 -0800 |
| committer | Kevin Chan <ktchan@codeaurora.org> | Fri Mar 02 18:44:28 2012 -0800 |
| tree | dbc62ff1a57e7a4191be543628e2be1c607a5b95 | |
| parent | 91ec12ae8db08c1ce6fb91f2fef4301792ba6e22 [diff] |
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: Kevin Chan <ktchan@codeaurora.org>