Add default visibility to HAL_MODULE_INFO_SYM
HAL could not be found by the CameraService.
BUG: 29336732
Change-Id: Ic4e509269f7f4171a9a79ce7a319fdc355e06514
diff --git a/modules/camera/3_4/V4L2CameraHAL.cpp b/modules/camera/3_4/V4L2CameraHAL.cpp
index 511d8a1..ad5fbde 100644
--- a/modules/camera/3_4/V4L2CameraHAL.cpp
+++ b/modules/camera/3_4/V4L2CameraHAL.cpp
@@ -162,7 +162,7 @@
.open = v4l2_camera_hal::open_dev
};
-camera_module_t HAL_MODULE_INFO_SYM = {
+camera_module_t HAL_MODULE_INFO_SYM __attribute__ ((visibility("default"))) = {
.common = {
.tag = HARDWARE_MODULE_TAG,
.module_api_version = CAMERA_MODULE_API_VERSION_2_4,