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 --- include/camera/Camera.h | 2 +- include/camera/ICameraService.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/camera') diff --git a/include/camera/Camera.h b/include/camera/Camera.h index 3fedea0..234e165 100644 --- a/include/camera/Camera.h +++ b/include/camera/Camera.h @@ -72,7 +72,7 @@ public: static int32_t getNumberOfCameras(); static status_t getCameraInfo(int cameraId, struct CameraInfo* cameraInfo); - static sp connect(int cameraId, bool force, bool keep); + static sp connect(int cameraId); virtual ~Camera(); void init(); diff --git a/include/camera/ICameraService.h b/include/camera/ICameraService.h index 97e3169..7d70c1e 100644 --- a/include/camera/ICameraService.h +++ b/include/camera/ICameraService.h @@ -42,7 +42,7 @@ public: virtual status_t getCameraInfo(int cameraId, struct CameraInfo* cameraInfo) = 0; virtual sp connect(const sp& cameraClient, - int cameraId, bool force, bool keep) = 0; + int cameraId) = 0; }; // ---------------------------------------------------------------------------- -- cgit v1.1