diff --git a/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift b/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift index 464e2d025..94ec9bb59 100644 --- a/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift +++ b/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift @@ -30,6 +30,8 @@ final class CallKitCallUIAdaptee: NSObject, CallUIAdaptee, CXProviderDelegate { providerConfiguration.supportsVideo = true + providerConfiguration.maximumCallGroups = 1 + providerConfiguration.maximumCallsPerCallGroup = 1 providerConfiguration.supportedHandleTypes = [.phoneNumber] @@ -68,7 +70,11 @@ final class CallKitCallUIAdaptee: NSObject, CallUIAdaptee, CXProviderDelegate { let update = CXCallUpdate() update.remoteHandle = CXHandle(type: .phoneNumber, value: call.remotePhoneNumber) update.hasVideo = call.hasVideo - + update.supportsHolding = false + update.supportsGrouping = false + update.supportsUngrouping = false + update.supportsDTMF = false + // Report the incoming call to the system provider.reportNewIncomingCall(with: call.localId, update: update) { error in /* diff --git a/Signal/src/view controllers/CallViewController.swift b/Signal/src/view controllers/CallViewController.swift index 87bbb70de..c555531c6 100644 --- a/Signal/src/view controllers/CallViewController.swift +++ b/Signal/src/view controllers/CallViewController.swift @@ -647,8 +647,8 @@ class CallViewController: UIViewController, CallDelegate { internal func stateDidChange(call: SignalCall, state: CallState) { DispatchQueue.main.async { + Logger.info("\(self.TAG) new call status: \(state)") self.updateCallUI(callState: state) - Logger.info("\(self.TAG) new call status: \(call.state)") } self.audioService.handleState(state) }