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

Commit 8c80c834 authored by Ruben Brunk's avatar Ruben Brunk Committed by Android Git Automerger
Browse files

am b4b65247: camera2: Update preview counter after request completed.

* commit 'b4b652474daf1f845ef313c9ff7c5216f1f90ba1':
  camera2: Update preview counter after request completed.
parents 717d0bdc 971251f3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -73,10 +73,10 @@ public class CaptureCollector {
        }

        public void tryComplete() {
            if (isCompleted()) {
                if (needsPreview && isPreviewCompleted()) {
                    CaptureCollector.this.onPreviewCompleted();
                }
            if (isCompleted()) {
                CaptureCollector.this.onRequestCompleted(mRequest, mLegacy, mTimestamp);
            }
        }