diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2015-04-07 13:47:46 -0700 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2015-04-15 17:26:13 -0700 |
commit | aee4782839de3103ecebca830a6bd49263a37ad3 (patch) | |
tree | 42e82a6e64c73cd35ebb93bbc06626cdd180c2b1 /modules | |
parent | 33642b9c5763a3ad7cebbe8918a6a8d31f3a63a5 (diff) | |
download | hardware_libhardware-aee4782839de3103ecebca830a6bd49263a37ad3.zip hardware_libhardware-aee4782839de3103ecebca830a6bd49263a37ad3.tar.gz hardware_libhardware-aee4782839de3103ecebca830a6bd49263a37ad3.tar.bz2 |
Camera: Add HAL module init method.
For use by Camera HAL libraries to perform one-time initialization
steps after the library is loaded.
Bug: 20016050
Change-Id: Ia01ae0eafcadece9124ac2cfcc3b1c3939352843
Diffstat (limited to 'modules')
-rw-r--r-- | modules/camera/CameraHAL.cpp | 1 | ||||
-rw-r--r-- | modules/usbcamera/CameraHAL.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/camera/CameraHAL.cpp b/modules/camera/CameraHAL.cpp index 06f308f..62ee6d4 100644 --- a/modules/camera/CameraHAL.cpp +++ b/modules/camera/CameraHAL.cpp @@ -186,6 +186,7 @@ camera_module_t HAL_MODULE_INFO_SYM __attribute__ ((visibility("default"))) = { get_vendor_tag_ops : get_vendor_tag_ops, open_legacy : NULL, set_torch_mode : NULL, + init : NULL, reserved : {0}, }; } // extern "C" diff --git a/modules/usbcamera/CameraHAL.cpp b/modules/usbcamera/CameraHAL.cpp index 98111ef..652e937 100644 --- a/modules/usbcamera/CameraHAL.cpp +++ b/modules/usbcamera/CameraHAL.cpp @@ -147,6 +147,7 @@ camera_module_t HAL_MODULE_INFO_SYM __attribute__ ((visibility("default"))) = { get_vendor_tag_ops : NULL, open_legacy : NULL, set_torch_mode : NULL, + init : NULL, reserved : {0}, }; } // extern "C" |