mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 08:39:22 +01:00
Fix crash when no remote participants are available when analyzing call result.
This commit is contained in:
committed by
jeffrey-signal
parent
fea836d20b
commit
2b4d5d74f2
@@ -28,8 +28,8 @@ object CallQuality {
|
||||
)
|
||||
|
||||
@JvmStatic
|
||||
fun handleOneToOneCallSummary(callSummary: CallSummary, isVideoCall: Boolean) {
|
||||
val callType = if (isVideoCall) CallType.DIRECT_VIDEO else CallType.DIRECT_VOICE
|
||||
fun handleOneToOneCallSummary(callSummary: CallSummary, hasRemoteVideoContent: Boolean) {
|
||||
val callType = if (hasRemoteVideoContent) CallType.DIRECT_VIDEO else CallType.DIRECT_VOICE
|
||||
|
||||
handleCallSummary(callSummary, callType)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user