From 38721b19b2854ef50930aa8172610ec8a8adf7f4 Mon Sep 17 00:00:00 2001 From: Jacob Hargrave Date: Tue, 1 Mar 2016 17:33:15 -0500 Subject: [PATCH] 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. --- android/ZBarScannerActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/ZBarScannerActivity.java b/android/ZBarScannerActivity.java index 081764e..881da3f 100644 --- a/android/ZBarScannerActivity.java +++ b/android/ZBarScannerActivity.java @@ -51,7 +51,7 @@ implements SurfaceHolder.Callback { // 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 ------------------------------------------------