Send error notification when request fails.
Sends a generic request error when a request fails.
BUG: 31653322
TEST: Test program runs
Change-Id: Ib0694d655e584dcfeaeacc1ce55177191abe42e3
diff --git a/modules/camera/3_4/camera.h b/modules/camera/3_4/camera.h
index 3413683..255156f 100644
--- a/modules/camera/3_4/camera.h
+++ b/modules/camera/3_4/camera.h
@@ -107,6 +107,10 @@
int preprocessCaptureBuffer(camera3_stream_buffer_t *buffer);
// Send a shutter notify message with start of exposure time
void notifyShutter(uint32_t frame_number, uint64_t timestamp);
+ // Send an error message and return the errored out result.
+ void completeRequestWithError(std::shared_ptr<CaptureRequest> request);
+ // Send a capture result for a request.
+ void sendResult(std::shared_ptr<CaptureRequest> request);
// Is type a valid template type (and valid index into mTemplates)
bool isValidTemplateType(int type);