Skip to content

Commit

Permalink
Use call config (finalized)
Browse files Browse the repository at this point in the history
  • Loading branch information
liviu-timar committed Jan 23, 2025
1 parent 8b3afc7 commit 9cc0630
Showing 1 changed file with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,20 @@ internal object TelecomCompat {
},
onNotSupported = {
if (isIncomingCall) {
ifForegroundServiceEnabled(callConfig) {
CallService.showIncomingCall(
context.applicationContext,
StreamCallId.fromCallCid(streamCall.cid),
callDisplayName,
callServiceConfiguration = callConfig,
notification = callId?.let {
getRingingCallNotification(
RingingState.Incoming(),
callId,
callDisplayName,
shouldHaveContentIntent = true,
)
},
)
}
CallService.showIncomingCall(
context.applicationContext,
StreamCallId.fromCallCid(streamCall.cid),
callDisplayName,
callServiceConfiguration = callConfig,
notification = callId?.let {
getRingingCallNotification(
RingingState.Incoming(),
callId,
callDisplayName,
shouldHaveContentIntent = true,
)
},
)
}
},
)
Expand Down

0 comments on commit 9cc0630

Please sign in to comment.