Increasing the autoFocusInterval, so that it allows slower devices such as the Galaxy S3, to finish focusing before it tries to refocus. Before this change it was appearing as if the autofocus wasn't working at all, because it kept resetting the focus before it got a chance to focus.

This commit is contained in:
Jacob Hargrave 2016-03-01 17:33:15 -05:00 committed by Daniel Cousens
parent 57dcc5f9dc
commit 38721b19b2

View File

@ -51,7 +51,7 @@ implements SurfaceHolder.Callback {
// Config ---------------------------------------------------------- // Config ----------------------------------------------------------
private static int autoFocusInterval = 500; // Interval between AFcallback and next AF attempt. private static int autoFocusInterval = 2000; // Interval between AFcallback and next AF attempt.
// Public Constants ------------------------------------------------ // Public Constants ------------------------------------------------