Oops, forgot auto-focus trigger (and one unrelated backport fix)

git-svn-id: https://zxing.googlecode.com/svn/trunk@2379 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2012-08-06 22:57:36 +00:00
parent 3a33c03f8d
commit 82c8ec250e
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<array name="country_codes">
<string-array name="country_codes">
<item>-</item>
<item>AR</item>
<item>AU</item>
@ -31,5 +31,5 @@
<item>TR</item>
<item>TW</item>
<item>US</item>
</array>
</string-array>
</resources>

View file

@ -59,6 +59,7 @@ final class AutoFocusManager implements Camera.AutoFocusCallback {
public synchronized void onAutoFocus(boolean success, Camera theCamera) {
if (active) {
outstandingTask = new AutoFocusTask();
outstandingTask.execute();
}
}