Bug fix
Cynogen camera auto focus bug
This commit is contained in:
parent
58e2da4f24
commit
cc4343209f
@ -314,7 +314,10 @@ implements SurfaceHolder.Callback {
|
||||
private Runnable doAutoFocus = new Runnable()
|
||||
{
|
||||
public void run() {
|
||||
if(camera != null) camera.autoFocus(autoFocusCb);
|
||||
if(camera != null){
|
||||
camera.cancelAutoFocus();
|
||||
camera.autoFocus(autoFocusCb);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user