flip autofocus canceling and stopRepeating

This commit is contained in:
tibbi 2018-06-11 15:07:03 +02:00
parent 45177dd7d9
commit d21124e3bc

View File

@ -597,8 +597,8 @@ class PreviewCameraTwo : ViewGroup, TextureView.SurfaceTextureListener, MyPrevie
}
}
mCaptureSession!!.stopRepeating()
cancelAutoFocus()
mCaptureSession!!.stopRepeating()
mPreviewRequestBuilder!!.apply {
// touch-to-focus inspired by OpenCamera
val characteristics = getCameraCharacteristics()