summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2009-04-27 12:01:59 -0700
committerJames Dong <jdong@google.com>2009-04-27 12:01:59 -0700
commit325ac475c51dc0d54503f725179ea2d9353485bb (patch)
tree4345b6602a076488623b2815f1af55f112b8b7d3 /include
parent3eab744d018924189b1b8f5530accd52e91213de (diff)
downloadframeworks_base-325ac475c51dc0d54503f725179ea2d9353485bb.zip
frameworks_base-325ac475c51dc0d54503f725179ea2d9353485bb.tar.gz
frameworks_base-325ac475c51dc0d54503f725179ea2d9353485bb.tar.bz2
Bug fix(1807910): media recorder crash due to the use of locked camera object (last part)
- remove an unused Camera constructor - add a check on the argument in Camera::create() method
Diffstat (limited to 'include')
-rw-r--r--include/ui/Camera.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ui/Camera.h b/include/ui/Camera.h
index 12fa20f..fd851d9 100644
--- a/include/ui/Camera.h
+++ b/include/ui/Camera.h
@@ -78,7 +78,6 @@ class Camera : public BnCameraClient, public IBinder::DeathRecipient
{
public:
// construct a camera client from an existing remote
- Camera(const sp<ICamera>& camera); // to be removed
static sp<Camera> create(const sp<ICamera>& camera);
static sp<Camera> connect();
~Camera();