mirror of
https://github.com/FossifyOrg/Camera.git
synced 2026-04-19 22:48:32 -04:00
do not reset the activity at releasing camera
This commit is contained in:
@@ -476,7 +476,6 @@ class PreviewCameraOne : ViewGroup, SurfaceHolder.Callback, MediaScannerConnecti
|
||||
mCamera?.stopPreview()
|
||||
mCamera?.release()
|
||||
mCamera = null
|
||||
mActivity = null
|
||||
cleanupRecorder()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user