mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-03-31 00:40:12 +02:00
focus before capturing the image only if Focus before capture is enabled
This commit is contained in:
parent
885df0ef88
commit
b4cb2dd0bb
@ -802,7 +802,7 @@ class PreviewCameraTwo : ViewGroup, TextureView.SurfaceTextureListener, MyPrevie
|
||||
}
|
||||
|
||||
override fun tryTakePicture() {
|
||||
if (mIsFocusSupported) {
|
||||
if (mIsFocusSupported && mActivity.config.focusBeforeCapture) {
|
||||
lockFocus()
|
||||
} else {
|
||||
captureStillPicture()
|
||||
|
Loading…
x
Reference in New Issue
Block a user