diff options
-rw-r--r-- | BoardConfigCommon.mk | 3 | ||||
-rw-r--r-- | camerawrapper/CameraWrapper.cpp | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 4cb25ba..c96fcd5 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -52,9 +52,6 @@ USE_OPENGL_RENDERER := true TARGET_BOOTANIMATION_PRELOAD := true TARGET_BOOTANIMATION_USE_RGB565 := true -# Camera -COMMON_GLOBAL_CFLAGS += -DDISABLE_HW_ID_MATCH_CHECK - # Vold BOARD_VOLD_MAX_PARTITIONS := 12 BOARD_VOLD_EMMC_SHARES_DEV_MAJOR := true diff --git a/camerawrapper/CameraWrapper.cpp b/camerawrapper/CameraWrapper.cpp index e15bae9..7a13301 100644 --- a/camerawrapper/CameraWrapper.cpp +++ b/camerawrapper/CameraWrapper.cpp @@ -89,7 +89,7 @@ static int check_vendor_module() if(gVendorModule) return 0; - rv = hw_get_module("vendor-camera", (const hw_module_t **)&gVendorModule); + rv = hw_get_module_by_class("camera", "vendor", (const hw_module_t **)&gVendorModule); if (rv) ALOGE("failed to open vendor camera module"); return rv; |