chore: Update comments

This commit is contained in:
Marc Rousavy 2024-02-19 13:41:23 +01:00
parent f6b7163660
commit 2c52fb01e4
No known key found for this signature in database
GPG Key ID: 8B9C709EA0B16A6D

View File

@ -197,7 +197,7 @@ class PersistentCameraCaptureSession(private val cameraManager: CameraManager, p
} }
return session.capture(singleRequest.build(), enableShutterSound) return session.capture(singleRequest.build(), enableShutterSound)
} finally { } finally {
// 5. After taking a photo we set the repeating request back to idle to remove the AE/AF/AWB locks again // 3. After taking a photo we set the repeating request back to idle to remove the AE/AF/AWB locks again
val idleRequest = repeatingRequest.createCaptureRequest(device, deviceDetails, repeatingOutputs) val idleRequest = repeatingRequest.createCaptureRequest(device, deviceDetails, repeatingOutputs)
session.setRepeatingRequest(idleRequest.build(), null, null) session.setRepeatingRequest(idleRequest.build(), null, null)
} }