google / cameraview

[DEPRECATED] Easily integrate Camera features into your Android app
Apache License 2.0
4.74k stars 1.03k forks source link

Moto G5: cameraview goes dark instantly #165

Open BijoySingh opened 7 years ago

BijoySingh commented 7 years ago

The camera view goes dark after flashing for a moment on the Moto G5 on the master: compile 'com.github.google:cameraview:9bbe07b' Weirdly the captured picture is correct. Happens on both the camera positions (front and back)

BijoySingh commented 7 years ago

Some more details: It's not exactly the cameraview which doesnt work. If I change the size of the camerview (like by hiding the status bar dynamically) it turns black.

kavin256 commented 7 years ago

Check whether this issue is related to the below issue; https://github.com/google/cameraview/issues/167 (going dark is not turning off. right?)