Skip to content

Commit 2089148

Browse files
committed
reverse order of nil param
1 parent f474a35 commit 2089148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/RNInCallManager/RNInCallManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ class RNInCallManager: NSObject, AVAudioPlayerDelegate {
9494
self.forceSpeakerOn = 0;
9595
self.startAudioSessionNotification()
9696
//self.audioSessionSetCategory(self.incallAudioCategory, [.DefaultToSpeaker, .AllowBluetooth], #function)
97-
// self.audioSessionSetCategory(self.incallAudioCategory, #function, nil)
97+
self.audioSessionSetCategory(self.incallAudioCategory, nil, #function)
9898
self.audioSessionSetMode(self.incallAudioMode, #function)
99-
// self.audioSessionSetActive(true, #function, nil)
99+
self.audioSessionSetActive(true, nil, #function)
100100
if !(ringbackUriType ?? "").isEmpty {
101101
NSLog("RNInCallManager.start() play ringback first. type=\(ringbackUriType)")
102102
self.startRingback(ringbackUriType)

0 commit comments

Comments
 (0)