Results 1 comments of Elias Peraza

This worked for me: ``` if (isFlashEnabled) captureRequestBuilder.set(CaptureRequest.FLASH_MODE, CaptureRequest.FLASH_MODE_TORCH); // Before of cameraDevice.createCaptureSession ``` Is not the best method, i think CameraX is better option.