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

TakePicture flash problem #277

Open
yanerly opened this issue Jun 25, 2019 · 0 comments
Open

TakePicture flash problem #277

yanerly opened this issue Jun 25, 2019 · 0 comments

Comments

@yanerly
Copy link

yanerly commented Jun 25, 2019

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);

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