This commit is contained in:
Captain Arepa 2024-05-23 13:57:23 -04:00
parent 84d1dcf058
commit 43415be913

View file

@ -691,8 +691,8 @@ public class SegpassNewCamera2 {
mCaptureSession = cameraCaptureSession; mCaptureSession = cameraCaptureSession;
try { try {
// Auto focus should be continuous for camera preview. // Auto focus should be continuous for camera preview.
/*mPreviewRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE, mPreviewRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE,
CaptureRequest.CONTROL_AF_MODE_CONTINUOUS_PICTURE);*/ CaptureRequest.CONTROL_AF_MODE_CONTINUOUS_PICTURE);
// Flash is automatically enabled when necessary. // Flash is automatically enabled when necessary.
setAutoFlash(mPreviewRequestBuilder); setAutoFlash(mPreviewRequestBuilder);