From b351729646a70a00c7aa8ce363b98b7547c63d1f Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 18 Jun 2018 23:18:16 +0200 Subject: [PATCH] remove the error toast at Create Preview --- .../com/simplemobiletools/camera/views/PreviewCameraTwo.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraTwo.kt b/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraTwo.kt index d1a9659e..4c11b3c9 100644 --- a/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraTwo.kt +++ b/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraTwo.kt @@ -486,7 +486,6 @@ class PreviewCameraTwo : ViewGroup, TextureView.SurfaceTextureListener, MyPrevie mCameraDevice!!.createCaptureSession(Arrays.asList(surface, mImageReader!!.surface), stateCallback, null) } } catch (e: Exception) { - mActivity.showErrorToast("Create preview $e") } }