This commit is contained in:
Benoit Marty 2020-11-02 14:15:27 +01:00
parent 1de1ddd496
commit 9ff78051a9
1 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,6 @@ package im.vector.app.features.call
import android.content.Context import android.content.Context
import android.hardware.camera2.CameraManager import android.hardware.camera2.CameraManager
import android.os.SystemClock
import androidx.core.content.getSystemService import androidx.core.content.getSystemService
import androidx.lifecycle.Lifecycle import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.LifecycleObserver
@ -76,7 +75,7 @@ import javax.inject.Singleton
@Singleton @Singleton
class WebRtcPeerConnectionManager @Inject constructor( class WebRtcPeerConnectionManager @Inject constructor(
private val context: Context, private val context: Context,
private val activeSessionDataSource: ActiveSessionDataSource, private val activeSessionDataSource: ActiveSessionDataSource
) : CallsListener, LifecycleObserver { ) : CallsListener, LifecycleObserver {
private val currentSession: Session? private val currentSession: Session?
@ -218,7 +217,6 @@ class WebRtcPeerConnectionManager @Inject constructor(
isInBackground = true isInBackground = true
} }
var currentCall: CallContext? = null var currentCall: CallContext? = null
set(value) { set(value) {
field = value field = value