Merge "Camera VTS: Override RotateAndCrop metadata" into android13-tests-dev am: 74a4696d56 am: f5dbd4869e

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2450127

Change-Id: I9b814d00d6af386d3226063dd0d5015b8a65f26b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Shuzhen Wang 2023-02-22 21:35:09 +00:00 committed by Automerger Merge Worker
commit 1d07d585e9

View file

@ -2334,6 +2334,7 @@ void CameraAidlTest::processPreviewStabilizationCaptureRequestInternal(
request.fmqSettingsSize = 0;
request.settings.metadata =
std::vector(rawMetadata, rawMetadata + get_camera_metadata_size(releasedMetadata));
overrideRotateAndCrop(&request.settings);
request.outputBuffers = std::vector<StreamBuffer>(1);
StreamBuffer& outputBuffer = request.outputBuffers[0];
if (useHalBufManager) {