Open Fishfield opened 8 years ago
I can repro on Pixel XL, image is overexposed and completely white. It seems there is a synchronization issue between autofocus, flash and the capture itself. I found lots of different stack overflow posts reporting similar things for other devices. It even seems Samsung devices have their own range of issues in regards to flash mode.
I am playing with the Camera2 sample to try to figure out what is the right combination of settings to pick to make this work. But I don't even know if this is possible without manual control of the flash, focus and capture.
I tried your demo application on a OnePlus 3 and Nexus 5x and the image was not flashed correctly see the attached image. I took the image in a completely dark room with flash enabled. I was writing kind of the same camera api 3 months ago and had exactly the same issue, but I was not able to fix it. It took me quite a long time to investigate into the issue and find a fix, but I was not able to find a working solution.
OnePlus 3:
Nexus 5x (completely white)