cameraview icon indicating copy to clipboard operation
cameraview copied to clipboard

FLASH_TORCH sticks until FLASH_OFF is used

Open yperess opened this issue 7 years ago • 0 comments

If we alter the line at https://github.com/google/cameraview/blob/master/demo/src/main/java/com/google/android/cameraview/demo/MainActivity.java#L72 to:

CameraView.FLASH_TORCH

You'll notice that the flash light doesn't turn off until we reach FLASH_OFF. I would have expected FLASH_AUTO to also leave the flash off until the capture.

https://stackoverflow.com/questions/53003383/android-camera2-api-cant-turn-off-torch-mode

yperess avatar Oct 26 '18 07:10 yperess