mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
use old camera wrapper
This commit is contained in:
parent
55e680dc5f
commit
b4d2f7c723
1 changed files with 3 additions and 5 deletions
|
@ -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 */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue