From 08ad5efcef90e24db2863c0f85972ed05fe848a2 Mon Sep 17 00:00:00 2001 From: Wu-cheng Li Date: Thu, 19 Apr 2012 12:35:00 +0800 Subject: Remove new camera connect API. Applications are not resumed under the lock screen now. This API is not needed anymore. bug:5584464 Change-Id: I115daf6b647348617ec0fc05b626878c945b9b29 --- camera/Camera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camera/Camera.cpp') diff --git a/camera/Camera.cpp b/camera/Camera.cpp index b81fe86..d43cb0b 100644 --- a/camera/Camera.cpp +++ b/camera/Camera.cpp @@ -116,13 +116,13 @@ status_t Camera::getCameraInfo(int cameraId, return cs->getCameraInfo(cameraId, cameraInfo); } -sp Camera::connect(int cameraId, bool force, bool keep) +sp Camera::connect(int cameraId) { ALOGV("connect"); sp c = new Camera(); const sp& cs = getCameraService(); if (cs != 0) { - c->mCamera = cs->connect(c, cameraId, force, keep); + c->mCamera = cs->connect(c, cameraId); } if (c->mCamera != 0) { c->mCamera->asBinder()->linkToDeath(c); -- cgit v1.1