Comment 4 for bug 1322121

Revision history for this message
Ugo Riboni (uriboni) wrote :

I looked into this and it seems that down in libhybris we are not doing anyhing that controls directly the sequence of flash and capture. We're just asking android to capture an image as far as I can tell.

However I noticed there is a way to sidestep the problem that, at least for me, is consistently reproducible.

* Take a picture with flash enabled
* Go to gallery (verify it's underexposed)
* Back to camera (verify the flash icon is still active)
* Take a picture (verify that no flash has been fired)
* Switch to no-flash mode, and take another picture
* Switch to flash mode again and take a picture (verify flash fires)
* If you switch to gallery now you will see the last pictures you have taken are all correctly exposed, including the last one with flash.

I hope this is reproducible for others and will provide further clues to those debugging the issue at the lower levels.