diff options
-rw-r--r-- | camera/CameraHal_Module.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/CameraHal_Module.cpp b/camera/CameraHal_Module.cpp index 4b03242..3b40dd5 100644 --- a/camera/CameraHal_Module.cpp +++ b/camera/CameraHal_Module.cpp @@ -74,9 +74,11 @@ camera_module_t HAL_MODULE_INFO_SYM = { /* remove compilation warnings: */ .set_callbacks = NULL, .get_vendor_tag_ops = NULL, +#ifdef ANDROID_API_LP_OR_LATER .open_legacy = NULL, .set_torch_mode = NULL, .init = NULL, +#endif .reserved = {0}, }; |