diff options
author | Wang, Jianfeng XA <jianfeng.xa.wang@sonymobile.com> | 2014-05-27 17:48:08 +0900 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-03-22 17:14:35 -0700 |
commit | d7a4d6dcb9a82eb5daad7ab897a1be5357ce19c3 (patch) | |
tree | 2d66c78859b0de113f5ce6c49932ac61777e494e /services/audioflinger/FastMixer.cpp | |
parent | 3df4facd824693020ec412cd4afcc8e469e31bb7 (diff) | |
download | frameworks_av-d7a4d6dcb9a82eb5daad7ab897a1be5357ce19c3.zip frameworks_av-d7a4d6dcb9a82eb5daad7ab897a1be5357ce19c3.tar.gz frameworks_av-d7a4d6dcb9a82eb5daad7ab897a1be5357ce19c3.tar.bz2 |
libcameraservice: Allow media server to disconnect camera even unlocked
The camera service may fail to release the camera hardware instance
in some use cases.
When an application unlocked the camera before disconnect, disconnect
from the application will not be accepted. And disconnect from media
server will not be accepted also. Then, the camera hardware instance
will not be released and a resource leak will be caused.
Allow media server to disconnect the camera at all times even if
the camera is unlocked.
Change-Id: Icd5ed81bed242fa5947aa40ca85e4ca7fa7286e7
Diffstat (limited to 'services/audioflinger/FastMixer.cpp')
0 files changed, 0 insertions, 0 deletions