do not reset the activity at releasing camera

This commit is contained in:
tibbi 2018-05-28 00:00:47 +02:00
parent bad8653d36
commit 95d0ca1fd0

View File

@ -476,7 +476,6 @@ class PreviewCameraOne : ViewGroup, SurfaceHolder.Callback, MediaScannerConnecti
mCamera?.stopPreview()
mCamera?.release()
mCamera = null
mActivity = null
cleanupRecorder()
}