clear focus after zooming

This commit is contained in:
tibbi 2016-08-29 14:53:47 +02:00
parent a61c31a24c
commit 1447c4fb8f
1 changed files with 7 additions and 1 deletions

View File

@ -204,9 +204,15 @@ public class Preview extends ViewGroup
if (mCamera != null)
mCamera.setParameters(mParameters);
return true;
}
@Override
public void onScaleEnd(ScaleGestureDetector detector) {
super.onScaleEnd(detector);
mWasZooming = true;
mSurfaceView.setSoundEffectsEnabled(false);
return true;
mParameters.setFocusAreas(null);
}
});
}