mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
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:
parent
3a33c03f8d
commit
82c8ec250e
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<array name="country_codes">
|
<string-array name="country_codes">
|
||||||
<item>-</item>
|
<item>-</item>
|
||||||
<item>AR</item>
|
<item>AR</item>
|
||||||
<item>AU</item>
|
<item>AU</item>
|
||||||
|
@ -31,5 +31,5 @@
|
||||||
<item>TR</item>
|
<item>TR</item>
|
||||||
<item>TW</item>
|
<item>TW</item>
|
||||||
<item>US</item>
|
<item>US</item>
|
||||||
</array>
|
</string-array>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -59,6 +59,7 @@ final class AutoFocusManager implements Camera.AutoFocusCallback {
|
||||||
public synchronized void onAutoFocus(boolean success, Camera theCamera) {
|
public synchronized void onAutoFocus(boolean success, Camera theCamera) {
|
||||||
if (active) {
|
if (active) {
|
||||||
outstandingTask = new AutoFocusTask();
|
outstandingTask = new AutoFocusTask();
|
||||||
|
outstandingTask.execute();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue