Both models of Samsung S21 5G are concerned.
To reproduce :
- use CameraXBasic demo app
- edit the cameraFragment file by changing :
imageCapture = ImageCapture.Builder()
//.setCaptureMode(ImageCapture.CAPTURE_MODE_MINIMIZE_LATENCY)
.setCaptureMode(ImageCapture.CAPTURE_MODE_ZERO_SHUTTER_LAG)
- launch the app
- take 6 photos normally (don't need to take them very fast)
- it freezes the preview (but you can still take new pictures)
- if you change screen orientation, the preview is unfreezed and you can take 6 pictures again before freeze.
Should I unbind/bind the camera after 5 pictures to prevent freezing or is there an other tip?
Frank