mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-03-28 06:20:08 +01:00
do not reset the activity at releasing camera
This commit is contained in:
parent
bad8653d36
commit
95d0ca1fd0
@ -476,7 +476,6 @@ class PreviewCameraOne : ViewGroup, SurfaceHolder.Callback, MediaScannerConnecti
|
|||||||
mCamera?.stopPreview()
|
mCamera?.stopPreview()
|
||||||
mCamera?.release()
|
mCamera?.release()
|
||||||
mCamera = null
|
mCamera = null
|
||||||
mActivity = null
|
|
||||||
cleanupRecorder()
|
cleanupRecorder()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user