Camera3: Advertise android.reprocess.maxCaptureStall

Advertised the max stall duration during reprocess
measured in number of frames

Change-Id: I8f2d7d2f8e87a09906adb9a3867bc3bb59b956bd
diff --git a/camera/QCamera2/HAL3/QCamera3HWI.cpp b/camera/QCamera2/HAL3/QCamera3HWI.cpp
index 7b567fd..856714b 100644
--- a/camera/QCamera2/HAL3/QCamera3HWI.cpp
+++ b/camera/QCamera2/HAL3/QCamera3HWI.cpp
@@ -4711,6 +4711,9 @@
                       &partial_result_count,
                        1);
 
+    int32_t max_stall_duration = MAX_REPROCESS_STALL;
+    staticInfo.update(ANDROID_REPROCESS_MAX_CAPTURE_STALL, &max_stall_duration, 1);
+
     uint8_t available_capabilities[MAX_AVAILABLE_CAPABILITIES];
     uint8_t available_capabilities_count = 0;
     available_capabilities[available_capabilities_count++] = ANDROID_REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE;
diff --git a/camera/QCamera2/stack/common/cam_types.h b/camera/QCamera2/stack/common/cam_types.h
index bf4875e..93e9d87 100644
--- a/camera/QCamera2/stack/common/cam_types.h
+++ b/camera/QCamera2/stack/common/cam_types.h
@@ -122,6 +122,8 @@
 
 #define QCAMERA_MAX_FILEPATH_LENGTH 64
 
+#define MAX_REPROCESS_STALL 2
+
 typedef enum {
     CAM_HAL_V1 = 1,
     CAM_HAL_V3 = 3