diff options
author | Changyeon Jo <changyeon@google.com> | 2019-02-26 14:35:33 -0800 |
---|---|---|
committer | Changyeon Jo <changyeon@google.com> | 2019-02-26 14:35:33 -0800 |
commit | 7451fc7e50cca0e50893d62647bf9c51f46b2509 (patch) | |
tree | b1ac1625e44c6c6a1c88f831af607ace9883e676 | |
parent | cb2db4827fd0d127ddbaa6d9bd7698eab6469160 (diff) | |
download | libhardware-7451fc7e50cca0e50893d62647bf9c51f46b2509.tar.gz |
Fixes incorrect array initialization.
This change fixes an array initialization failure due to recent
resizing of camera_module structure's reserved variable.
Bug: 126418509
Change-Id: Ifda61b5427f317192976aee788d0e6849f7d189f
Signed-off-by: Changyeon Jo <changyeon@google.com>
-rw-r--r-- | modules/camera/3_4/v4l2_camera_hal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/camera/3_4/v4l2_camera_hal.cpp b/modules/camera/3_4/v4l2_camera_hal.cpp index c2101d0f..17fac1a8 100644 --- a/modules/camera/3_4/v4l2_camera_hal.cpp +++ b/modules/camera/3_4/v4l2_camera_hal.cpp @@ -239,4 +239,4 @@ camera_module_t HAL_MODULE_INFO_SYM __attribute__((visibility("default"))) = { .set_torch_mode = v4l2_camera_hal::set_torch_mode, .init = nullptr, .get_physical_camera_info = nullptr, - .reserved = {nullptr, nullptr, nullptr, nullptr}}; + .reserved = {nullptr, nullptr}}; |