diff options
author | Zhijun He <zhijunhe@google.com> | 2013-07-18 17:59:30 -0700 |
---|---|---|
committer | Zhijun He <zhijunhe@google.com> | 2013-07-18 17:59:30 -0700 |
commit | bd1468921eac095f43e1d0e9a5a2584ae834d90e (patch) | |
tree | b16a225ed415bf2943d2498fe2576bee9308dc2c /modules/camera/Camera.cpp | |
parent | 7f3ce00606aa3b889786d9dec9ce8526ff25fc2a (diff) | |
download | hardware_libhardware-bd1468921eac095f43e1d0e9a5a2584ae834d90e.zip hardware_libhardware-bd1468921eac095f43e1d0e9a5a2584ae834d90e.tar.gz hardware_libhardware-bd1468921eac095f43e1d0e9a5a2584ae834d90e.tar.bz2 |
modules: camera: Fix build break due to metadata change
Change-Id: I085796569ea77336d32907ee2287ff7533b0c122
Diffstat (limited to 'modules/camera/Camera.cpp')
-rw-r--r-- | modules/camera/Camera.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/camera/Camera.cpp b/modules/camera/Camera.cpp index 1c307de..2fe7395 100644 --- a/modules/camera/Camera.cpp +++ b/modules/camera/Camera.cpp @@ -263,11 +263,11 @@ int Camera::initStaticInfo() ARRAY_SIZE(android_sensor_info_active_array_size), android_sensor_info_active_array_size); - int32_t android_sensor_info_available_sensitivities[] = - {100, 200, 400, 800, 1600}; - mMetadata.addInt32(ANDROID_SENSOR_INFO_AVAILABLE_SENSITIVITIES, - ARRAY_SIZE(android_sensor_info_available_sensitivities), - android_sensor_info_available_sensitivities); + int32_t android_sensor_info_sensitivity_range[] = + {100, 1600}; + mMetadata.addInt32(ANDROID_SENSOR_INFO_SENSITIVITY_RANGE, + ARRAY_SIZE(android_sensor_info_sensitivity_range), + android_sensor_info_sensitivity_range); int64_t android_sensor_info_max_frame_duration[] = {30000000000}; mMetadata.addInt64(ANDROID_SENSOR_INFO_MAX_FRAME_DURATION, |