diff --git a/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift b/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift index 7066e091d..670f51b42 100644 --- a/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift +++ b/Signal/src/call/Speakerbox/CallKitCallUIAdaptee.swift @@ -46,8 +46,6 @@ final class CallKitCallUIAdaptee: NSObject, CallUIAdaptee, CXProviderDelegate { let iconMaskImage = #imageLiteral(resourceName: "logoSignal") providerConfiguration.iconTemplateImageData = UIImagePNGRepresentation(iconMaskImage) - // We set the ringtoneSound property later. - return providerConfiguration } @@ -124,12 +122,6 @@ final class CallKitCallUIAdaptee: NSObject, CallUIAdaptee, CXProviderDelegate { disableUnsupportedFeatures(callUpdate: update) - // Update the provider configuration to reflect the caller's ringtone. - let sound = OWSSounds.ringtoneSound(for: call.thread) - let providerConfiguration = provider.configuration - providerConfiguration.ringtoneSound = OWSSounds.filename(for: sound) - provider.configuration = providerConfiguration - // Report the incoming call to the system provider.reportNewIncomingCall(with: call.localId, update: update) { error in /*