summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/CameraService.cpp
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2013-02-06 17:20:07 -0800
committerEino-Ville Talvala <etalvala@google.com>2013-02-27 12:47:21 -0800
commitb99c5b8eebb35133a08c46b015624bd4c4a6c477 (patch)
treece497f110ab59decf214e96d9258aae3f5555d05 /services/camera/libcameraservice/CameraService.cpp
parent8b5c4ec7bbf253eb704094ab6b04f58923f67994 (diff)
downloadframeworks_av-b99c5b8eebb35133a08c46b015624bd4c4a6c477.zip
frameworks_av-b99c5b8eebb35133a08c46b015624bd4c4a6c477.tar.gz
frameworks_av-b99c5b8eebb35133a08c46b015624bd4c4a6c477.tar.bz2
Camera: Start of support for version 3.0 of camera device HAL
- Refactor common CameraDevice interface out of Camera2Device - Initial skeleton only for Camera3Device Change-Id: I097cc76e2ad102a51712ac114235163245f5482c
Diffstat (limited to 'services/camera/libcameraservice/CameraService.cpp')
-rw-r--r--services/camera/libcameraservice/CameraService.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/CameraService.cpp b/services/camera/libcameraservice/CameraService.cpp
index 1a78b53..d7c8807 100644
--- a/services/camera/libcameraservice/CameraService.cpp
+++ b/services/camera/libcameraservice/CameraService.cpp
@@ -244,9 +244,11 @@ sp<ICamera> CameraService::connect(
break;
case CAMERA_DEVICE_API_VERSION_2_0:
case CAMERA_DEVICE_API_VERSION_2_1:
+ case CAMERA_DEVICE_API_VERSION_3_0:
client = new Camera2Client(this, cameraClient,
clientPackageName, cameraId,
- facing, callingPid, clientUid, getpid());
+ facing, callingPid, clientUid, getpid(),
+ deviceVersion);
break;
case -1:
ALOGE("Invalid camera id %d", cameraId);