Open yperess opened 5 years ago
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.
FLASH_OFF
FLASH_AUTO
https://stackoverflow.com/questions/53003383/android-camera2-api-cant-turn-off-torch-mode
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:
You'll notice that the flash light doesn't turn off until we reach
FLASH_OFF
. I would have expectedFLASH_AUTO
to also leave the flash off until the capture.https://stackoverflow.com/questions/53003383/android-camera2-api-cant-turn-off-torch-mode