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:
parent
57dcc5f9dc
commit
38721b19b2
@ -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 ------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user