diff options
author | Igor Murashkin <iam@google.com> | 2013-06-19 19:51:04 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2013-06-20 20:31:36 -0700 |
commit | 98e24724fb77445d4d015a5fec4ecbd5b49abc9b (patch) | |
tree | 0cb728e66991da37489bac60fd1ac9870c4d095d /services/camera/libcameraservice/CameraService.cpp | |
parent | e7ee7637747371635a85fedd24d2190bb1f38651 (diff) | |
download | frameworks_av-98e24724fb77445d4d015a5fec4ecbd5b49abc9b.zip frameworks_av-98e24724fb77445d4d015a5fec4ecbd5b49abc9b.tar.gz frameworks_av-98e24724fb77445d4d015a5fec4ecbd5b49abc9b.tar.bz2 |
Make android.hardware.photography.Camera work on HAL3+ devices
Bug: 9213377
Change-Id: I5b2eeab28985f53dfcb7b8e3029930f5adcd74f5
Diffstat (limited to 'services/camera/libcameraservice/CameraService.cpp')
-rw-r--r-- | services/camera/libcameraservice/CameraService.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/camera/libcameraservice/CameraService.cpp b/services/camera/libcameraservice/CameraService.cpp index 1b2204e..c284a0d 100644 --- a/services/camera/libcameraservice/CameraService.cpp +++ b/services/camera/libcameraservice/CameraService.cpp @@ -42,6 +42,7 @@ #include "Camera2Client.h" #include "ProCamera2Client.h" #include "photography/CameraDeviceClient.h" +#include "CameraDeviceFactory.h" namespace android { @@ -127,6 +128,8 @@ void CameraService::onFirstRef() CAMERA_MODULE_API_VERSION_2_1) { mModule->set_callbacks(this); } + + CameraDeviceFactory::registerService(this); } } |