Hello,
I've noticed in my CameraX app that lowering the exposure compensation using setExposureCompensationIndex() decreases the brightness only in the viewfinder, while the captured image remains well exposed. Your
sample app exhibits the same behavior.
The only workaround I've found so far is to set Noise Reduction to NOISE_REDUCTION_MODE_OFF. Somehow this allows for captured images to be under or over exposed as desired. Am I missing a step, or is this a known bug? These tests were performed on a Pixel 4a with Android 12, using CameraX 1.0.1 and 1.2.0 alpha 2.
Thank you for your help!