Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

FLASH_TORCH sticks until FLASH_OFF is used #259

Open
yperess opened this issue Oct 26, 2018 · 0 comments
Open

FLASH_TORCH sticks until FLASH_OFF is used #259

yperess opened this issue Oct 26, 2018 · 0 comments

Comments

@yperess
Copy link

yperess commented Oct 26, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant