From 95d0ca1fd036ac5bf0b0f734380bf2f484586f2d Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 28 May 2018 00:00:47 +0200 Subject: [PATCH] do not reset the activity at releasing camera --- .../com/simplemobiletools/camera/views/PreviewCameraOne.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraOne.kt b/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraOne.kt index a78cf7af..3795fef7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraOne.kt +++ b/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraOne.kt @@ -476,7 +476,6 @@ class PreviewCameraOne : ViewGroup, SurfaceHolder.Callback, MediaScannerConnecti mCamera?.stopPreview() mCamera?.release() mCamera = null - mActivity = null cleanupRecorder() }