Merge "Camera: Append non-partial results" into pi-dev am: 908fd8653f

am: 327e5312b8

Change-Id: I650a15c5f678c2e5e7f2a4e753819b2abe4d5e4b
This commit is contained in:
Emilian Peev 2018-05-17 10:08:57 -07:00 committed by android-build-merger
commit 02fb8a2946

View file

@ -1013,6 +1013,10 @@ bool CameraHidlTest::DeviceCb::processCaptureResultLocked(const CaptureResult& r
isPartialResult =
(results.partialResult < request->numPartialResults);
} else if (resultSize > 0) {
request->collectedResult.append(reinterpret_cast<const camera_metadata_t*>(
resultMetadata.data()));
isPartialResult = false;
}
hasInputBufferInRequest = request->hasInputBuffer;