mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-05 16:49:41 +02:00
catch all exceptions at unlocking focus
This commit is contained in:
parent
9285bc3b72
commit
87293d9706
@ -796,7 +796,7 @@ class PreviewCameraTwo : ViewGroup, TextureView.SurfaceTextureListener, MyPrevie
|
|||||||
if (mLastFocusX != 0f && mLastFocusY != 0f) {
|
if (mLastFocusX != 0f && mLastFocusY != 0f) {
|
||||||
focusArea(mLastFocusX, mLastFocusY, false)
|
focusArea(mLastFocusX, mLastFocusY, false)
|
||||||
}
|
}
|
||||||
} catch (e: CameraAccessException) {
|
} catch (e: Exception) {
|
||||||
} finally {
|
} finally {
|
||||||
mCameraState = STATE_PREVIEW
|
mCameraState = STATE_PREVIEW
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user