summaryrefslogtreecommitdiffstats
path: root/camera/Camera.cpp
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2012-04-19 12:35:00 +0800
committerWu-cheng Li <wuchengli@google.com>2012-04-19 12:53:56 +0800
commit08ad5efcef90e24db2863c0f85972ed05fe848a2 (patch)
treef2eff3f033d360ac8043ba4f6ffa2d11520bebee /camera/Camera.cpp
parent9bd23229fdec1657398abc682ccccfce1c95f8aa (diff)
downloadframeworks_av-08ad5efcef90e24db2863c0f85972ed05fe848a2.zip
frameworks_av-08ad5efcef90e24db2863c0f85972ed05fe848a2.tar.gz
frameworks_av-08ad5efcef90e24db2863c0f85972ed05fe848a2.tar.bz2
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
Diffstat (limited to 'camera/Camera.cpp')
-rw-r--r--camera/Camera.cpp4
1 files changed, 2 insertions, 2 deletions
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> Camera::connect(int cameraId, bool force, bool keep)
+sp<Camera> Camera::connect(int cameraId)
{
ALOGV("connect");
sp<Camera> c = new Camera();
const sp<ICameraService>& 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);