So basically I want to get the focus distance of lens when the focus mode is AUTO.
Currently I am working like this:
Assuming
CONTROL_AF_MODE
is set toCONTROL_AF_MODE_AUTO
by default.Trying to get
CaptureRequest.LENS_FOCUS_DISTANCE
which returns0.0
on NEXUS 5 virtual device andnull
on Redmi Note 3.
Is it the correct logic?