clear focus after zooming
This commit is contained in:
parent
a61c31a24c
commit
1447c4fb8f
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue