remove the error toast at Create Preview
This commit is contained in:
parent
2c26981fd0
commit
b351729646
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue