There's a few reasons.
a) While you are capturePicture()
, the AutoFocus state is stucked at CONTROL_AF_STATE_PASSIVE_FOCUSED
and there is no way to shake it off.
Thus, you'll need to manually restart the focus and get a lock on it again.
b) setRepeatingRequest()
from captureSession
is overwhelming it.