From a8aba856b725436a4250aa70593300d41fc994b8 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 30 May 2018 23:13:27 +0200 Subject: [PATCH] removing an Equals sign --- .../com/simplemobiletools/camera/views/PreviewCameraTwo.kt | 2 +- 1 file changed, 1 insertion(+), 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 b36da98f..fa3e773f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraTwo.kt +++ b/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraTwo.kt @@ -386,7 +386,7 @@ class PreviewCameraTwo : ViewGroup, TextureView.SurfaceTextureListener, MyPrevie override fun onCaptureCompleted(session: CameraCaptureSession, request: CaptureRequest, result: TotalCaptureResult) { super.onCaptureCompleted(session, request, result) - if (request.tag === FOCUS_TAG) { + if (request.tag == FOCUS_TAG) { mPreviewRequestBuilder!!.set(CaptureRequest.CONTROL_AF_TRIGGER, null) mCaptureSession!!.setRepeatingRequest(mPreviewRequestBuilder!!.build(), null, null) }