Camera3: Removes raw sizes from metadata
- Raw sizes can be advertised in the metadata
only when 'HAL_PIXEL_FORMAT_RAW_SENSOR'
pixelformat is also supported.
BUG: 10808469
Change-Id: I81df4010bd150127e898172ed4c30e9423d76f1d
diff --git a/camera/QCamera2/HAL3/QCamera3HWI.cpp b/camera/QCamera2/HAL3/QCamera3HWI.cpp
index 2624c56..0c36985 100644
--- a/camera/QCamera2/HAL3/QCamera3HWI.cpp
+++ b/camera/QCamera2/HAL3/QCamera3HWI.cpp
@@ -2361,12 +2361,6 @@
availableFaceDetectModes,
sizeof(availableFaceDetectModes));
- int32_t raw_size[] = {gCamCapability[cameraId]->raw_dim.width,
- gCamCapability[cameraId]->raw_dim.height};
- staticInfo.update(ANDROID_SCALER_AVAILABLE_RAW_SIZES,
- raw_size,
- sizeof(raw_size)/sizeof(uint32_t));
-
int32_t exposureCompensationRange[] = {gCamCapability[cameraId]->exposure_compensation_min,
gCamCapability[cameraId]->exposure_compensation_max};
staticInfo.update(ANDROID_CONTROL_AE_COMPENSATION_RANGE,