mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-03-03 10:37:37 +01: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) {
|
||||
focusArea(mLastFocusX, mLastFocusY, false)
|
||||
}
|
||||
} catch (e: CameraAccessException) {
|
||||
} catch (e: Exception) {
|
||||
} finally {
|
||||
mCameraState = STATE_PREVIEW
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user