diff options
author | Chien-Yu Chen <cychen@google.com> | 2015-01-08 11:06:38 -0800 |
---|---|---|
committer | Chien-Yu Chen <cychen@google.com> | 2015-01-15 10:35:07 -0800 |
commit | 301591776ff1fdc6acccce3936e74f87a60f9d9d (patch) | |
tree | 3713ee0754efc86af2c6981413b7128ff52b257f /modules/camera | |
parent | 9ab869acfd02cf841a6c8309ae45acf936557720 (diff) | |
download | hardware_libhardware-301591776ff1fdc6acccce3936e74f87a60f9d9d.zip hardware_libhardware-301591776ff1fdc6acccce3936e74f87a60f9d9d.tar.gz hardware_libhardware-301591776ff1fdc6acccce3936e74f87a60f9d9d.tar.bz2 |
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
Diffstat (limited to 'modules/camera')
-rw-r--r-- | modules/camera/CameraHAL.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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" |