summaryrefslogtreecommitdiff
path: root/libs/ui/Camera.cpp
diff options
context:
space:
mode:
author Chih-Chung Chang <chihchung@google.com> 2009-06-24 13:44:37 +0800
committer Chih-Chung Chang <chihchung@google.com> 2009-06-24 15:50:57 +0800
commitfa89f9f89758925d7c32a03aaa44671d7a91a06c (patch)
tree2d59574b4f07c26e4c093b74642da72f41efa4b3 /libs/ui/Camera.cpp
parentafc52f99e12f0d634b8926c787c44c6e1e5a9233 (diff)
Fix 1933269: startPreview failed.
The reason we need this count is a new CameraService::connect() request may come in while the previous Client's destructor has not been run or is still running. If the last strong reference of the previous Client is gone but destructor has not been run, we should not allow the new Client to be created because we need to wait for the previous Client to tear down the hardware first.
Diffstat (limited to 'libs/ui/Camera.cpp')
0 files changed, 0 insertions, 0 deletions