<div dir="ltr"><pre class="gmail-bz_comment_text" id="gmail-comment_text_0" style="font-size:medium;width:50em;color:rgb(0,0,0)">The first valid settings should be saved, or will be deferred to the next frame.
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp
index 25cedd44..d45ed1a5 100644
--- a/src/android/camera_device.cpp
+++ b/src/android/camera_device.cpp
@@ -952,8 +952,8 @@ int CameraDevice::processCaptureRequest(camera3_capture_request_t *camera3Reques
*/
if (camera3Request->settings)
lastSettings_ = camera3Request->settings;
- else
- descriptor->settings_ = lastSettings_;
+
+ descriptor->settings_ = lastSettings_;</pre><pre class="gmail-bz_comment_text" id="gmail-comment_text_0" style="font-size:medium;width:50em;color:rgb(0,0,0)"><br></pre><pre class="gmail-bz_comment_text" id="gmail-comment_text_0" style="font-size:medium;width:50em;color:rgb(0,0,0)"><br></pre><pre class="gmail-bz_comment_text" id="gmail-comment_text_0" style="font-size:medium;width:50em;color:rgb(0,0,0)">BRs,</pre><pre class="gmail-bz_comment_text" id="gmail-comment_text_0" style="font-size:medium;width:50em;color:rgb(0,0,0)">FangHui</pre></div>