Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fc589cb authored by Shuzhen Wang's avatar Shuzhen Wang
Browse files

Camera2: Clarify ordering between onCaptureStart and onCaptureProgressed

It's not a guarantee that onCaptureProgressed happens after
onCaptureStart for a particular request.

Bug: 26676240
Change-Id: I900c3b36e1738dd3514954498023eaa4a1618989
parent cc725a4b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -847,6 +847,9 @@ public abstract class CameraCaptureSession implements AutoCloseable {
         * to make forward progress from the partial results and avoid waiting for the completed
         * result.</p>
         *
         * <p>For a particular request, {@link #onCaptureProgressed} may happen before or after
         * {@link #onCaptureStarted}.</p>
         *
         * <p>Each request will generate at least {@code 1} partial results, and at most
         * {@link CameraCharacteristics#REQUEST_PARTIAL_RESULT_COUNT} partial results.</p>
         *