flip autofocus canceling and stopRepeating
This commit is contained in:
parent
45177dd7d9
commit
d21124e3bc
|
@ -597,8 +597,8 @@ class PreviewCameraTwo : ViewGroup, TextureView.SurfaceTextureListener, MyPrevie
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mCaptureSession!!.stopRepeating()
|
|
||||||
cancelAutoFocus()
|
cancelAutoFocus()
|
||||||
|
mCaptureSession!!.stopRepeating()
|
||||||
mPreviewRequestBuilder!!.apply {
|
mPreviewRequestBuilder!!.apply {
|
||||||
// touch-to-focus inspired by OpenCamera
|
// touch-to-focus inspired by OpenCamera
|
||||||
val characteristics = getCameraCharacteristics()
|
val characteristics = getCameraCharacteristics()
|
||||||
|
|
Loading…
Reference in New Issue