From 301591776ff1fdc6acccce3936e74f87a60f9d9d Mon Sep 17 00:00:00 2001 From: Chien-Yu Chen Date: Thu, 8 Jan 2015 11:06:38 -0800 Subject: camera_common: add torch mode APIs for flashlight Add torch mode APIs to support flashlight without opening any camera devices. Bug: 2682206 Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02 --- modules/camera/CameraHAL.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/camera') diff --git a/modules/camera/CameraHAL.cpp b/modules/camera/CameraHAL.cpp index 6f64a0d..06f308f 100644 --- a/modules/camera/CameraHAL.cpp +++ b/modules/camera/CameraHAL.cpp @@ -185,6 +185,7 @@ camera_module_t HAL_MODULE_INFO_SYM __attribute__ ((visibility("default"))) = { set_callbacks : set_callbacks, get_vendor_tag_ops : get_vendor_tag_ops, open_legacy : NULL, + set_torch_mode : NULL, reserved : {0}, }; } // extern "C" -- cgit v1.1