From 476348d9615fde6cab7e7ede12de8d3852027baf Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 10 Feb 2021 16:31:36 +0100 Subject: [PATCH] Clean --- .../vector/app/features/call/conference/VectorJitsiActivity.kt | 1 - .../main/java/im/vector/app/features/call/webrtc/WebRtcCall.kt | 2 -- 2 files changed, 3 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/call/conference/VectorJitsiActivity.kt b/vector/src/main/java/im/vector/app/features/call/conference/VectorJitsiActivity.kt index 75ea3f76aa..caece858aa 100644 --- a/vector/src/main/java/im/vector/app/features/call/conference/VectorJitsiActivity.kt +++ b/vector/src/main/java/im/vector/app/features/call/conference/VectorJitsiActivity.kt @@ -199,7 +199,6 @@ class VectorJitsiActivity : VectorBaseActivity(), JitsiMee } } - companion object { fun newIntent(context: Context, roomId: String, widgetId: String, enableVideo: Boolean): Intent { return Intent(context, VectorJitsiActivity::class.java).apply { diff --git a/vector/src/main/java/im/vector/app/features/call/webrtc/WebRtcCall.kt b/vector/src/main/java/im/vector/app/features/call/webrtc/WebRtcCall.kt index 40b4e7469d..c72d7c8a76 100644 --- a/vector/src/main/java/im/vector/app/features/call/webrtc/WebRtcCall.kt +++ b/vector/src/main/java/im/vector/app/features/call/webrtc/WebRtcCall.kt @@ -476,7 +476,6 @@ class WebRtcCall(val mxCall: MxCall, if (camera != null) { val videoCapturer = cameraIterator.createCapturer(camera.name, object : CameraEventsHandlerAdapter() { - override fun onFirstFrameAvailable() { super.onFirstFrameAvailable() videoCapturerIsInError = false @@ -490,7 +489,6 @@ class WebRtcCall(val mxCall: MxCall, videoCapturerIsInError = true val cameraManager = context.getSystemService() cameraAvailabilityCallback = object : CameraManager.AvailabilityCallback() { - override fun onCameraUnavailable(cameraId: String) { super.onCameraUnavailable(cameraId) Timber.v("On camera unavailable: $cameraId")