Skip to content

Commit

Permalink
(audiocall) Improved display of incoming call notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
jedi1150 committed Jan 16, 2024
1 parent 43b5071 commit cb35225
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AudioCallManagerDefault(

override fun onIncomingCall(call: ICall, video: Boolean, headers: Map<String?, String?>?) {
super.onIncomingCall(call, video, headers)
showIncomingCallUI()
if (callState.value == CallState.INCOMING) showIncomingCallUI()
}

@Throws(CallManagerException::class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class AudioCallManagerTelecom(

override fun onIncomingCall(call: ICall, video: Boolean, headers: Map<String?, String?>?) {
super.onIncomingCall(call, video, headers)
telecomManager.addIncomingCall()
if (callState.value == CallState.INCOMING) telecomManager.addIncomingCall()
}

override fun onCallConnected(call: ICall?, headers: Map<String?, String?>?) {
Expand Down

0 comments on commit cb35225

Please sign in to comment.