mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
catch all exceptions at unlocking focus
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user