Cynogen camera auto focus bug
This commit is contained in:
PaoloMessina 2014-12-23 15:27:24 +01:00
parent 58e2da4f24
commit cc4343209f

View File

@ -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);
}
}
};