cameraview icon indicating copy to clipboard operation
cameraview copied to clipboard

TakePicture flash problem

Open yanerly opened this issue 6 years ago • 0 comments

On Huawei mobile phones, the flash is on, sometimes the flash only flashes once when taking pictures, sometimes flashes twice.

previewRequestBuilder.set(CaptureRequest.CONTROL_AE_MODE, CaptureRequest.CONTROL_AE_MODE_ON_ALWAYS_FLASH);

previewRequestBuilder.set(CaptureRequest.FLASH_MODE, CaptureRequest.FLASH_MODE_OFF);

yanerly avatar Jun 25 '19 08:06 yanerly