camera/camera-camera2/src/main/java/androidx/camera/camera2/internal/compat/workaround/WaitForRepeatingRequestStart.java
/** This should be called when a SynchronizedCaptureSession is stopped or closed. */
This should be called when a SynchronizedCaptureSession is stopped or closed.
This should be called when a SynchronizedCaptureSession is stopped or closed .
public void onSessionEnd() {
        synchronized (mLock) {
            if (shouldWaitRepeatingSubmit() && !mHasSubmittedRepeating) {
                mStartStreamingFuture.cancel(true);
            }
        }
    }
public void onSessionEnd ( ) { synchronized ( mLock ) { if ( shouldWaitRepeatingSubmit ( ) && ! mHasSubmittedRepeating ) { mStartStreamingFuture . cancel ( true ) ; } } }
This should be called when a SynchronizedCaptureSession is stopped or closed.
This should be called when a SynchronizedCaptureSession is stopped or closed .
// If the session is closed before any repeating requests have been issued, // then the startStreamingFuture should be cancelled.