From 9ff78051a913ab9689e734ee1622365087b3512e Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 2 Nov 2020 14:15:27 +0100 Subject: [PATCH] Cleanup --- .../vector/app/features/call/WebRtcPeerConnectionManager.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/call/WebRtcPeerConnectionManager.kt b/vector/src/main/java/im/vector/app/features/call/WebRtcPeerConnectionManager.kt index 0b844f36d3..86b38c1158 100644 --- a/vector/src/main/java/im/vector/app/features/call/WebRtcPeerConnectionManager.kt +++ b/vector/src/main/java/im/vector/app/features/call/WebRtcPeerConnectionManager.kt @@ -18,7 +18,6 @@ package im.vector.app.features.call import android.content.Context import android.hardware.camera2.CameraManager -import android.os.SystemClock import androidx.core.content.getSystemService import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver @@ -76,7 +75,7 @@ import javax.inject.Singleton @Singleton class WebRtcPeerConnectionManager @Inject constructor( private val context: Context, - private val activeSessionDataSource: ActiveSessionDataSource, + private val activeSessionDataSource: ActiveSessionDataSource ) : CallsListener, LifecycleObserver { private val currentSession: Session? @@ -218,7 +217,6 @@ class WebRtcPeerConnectionManager @Inject constructor( isInBackground = true } - var currentCall: CallContext? = null set(value) { field = value