use old camera wrapper

This commit is contained in:
PythonLimited 2018-01-15 18:23:49 +01:00
parent 55e680dc5f
commit b4d2f7c723

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2018, The LineageOS Project * Copyright (C) 2014, The CyanogenMod Project
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -21,7 +21,7 @@
* *
*/ */
#define LOG_NDEBUG 0 //#define LOG_NDEBUG 0
#define LOG_TAG "CameraWrapper" #define LOG_TAG "CameraWrapper"
#include <cutils/log.h> #include <cutils/log.h>
@ -56,7 +56,7 @@ camera_module_t HAL_MODULE_INFO_SYM = {
.hal_api_version = HARDWARE_HAL_API_VERSION, .hal_api_version = HARDWARE_HAL_API_VERSION,
.id = CAMERA_HARDWARE_MODULE_ID, .id = CAMERA_HARDWARE_MODULE_ID,
.name = "Samsung MSM8226 Camera Wrapper", .name = "Samsung MSM8226 Camera Wrapper",
.author = "The NeoHomies Project", .author = "The CyanogenMod Project",
.methods = &camera_module_methods, .methods = &camera_module_methods,
.dso = NULL, /* remove compilation warnings */ .dso = NULL, /* remove compilation warnings */
.reserved = {0}, /* remove compilation warnings */ .reserved = {0}, /* remove compilation warnings */
@ -66,8 +66,6 @@ camera_module_t HAL_MODULE_INFO_SYM = {
.set_callbacks = NULL, /* remove compilation warnings */ .set_callbacks = NULL, /* remove compilation warnings */
.get_vendor_tag_ops = NULL, /* remove compilation warnings */ .get_vendor_tag_ops = NULL, /* remove compilation warnings */
.open_legacy = NULL, /* remove compilation warnings */ .open_legacy = NULL, /* remove compilation warnings */
.set_torch_mode = NULL, /* remove compilation warnings */
.init = NULL, /* remove compilation warnings */
.reserved = {0}, /* remove compilation warnings */ .reserved = {0}, /* remove compilation warnings */
}; };