flip autofocus canceling and stopRepeating

This commit is contained in:
tibbi 2018-06-11 15:07:03 +02:00
parent 45177dd7d9
commit d21124e3bc
1 changed files with 1 additions and 1 deletions

View File

@ -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()