mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Added missing foreground service notification for outgoing call
This commit is contained in:
parent
6746e71197
commit
51d9b18c1c
2 changed files with 7 additions and 1 deletions
|
|
@ -121,6 +121,12 @@ class NotificationsManager @MainThread constructor(private val context: Context)
|
|||
)
|
||||
showCallNotification(call, true)
|
||||
}
|
||||
Call.State.OutgoingInit -> {
|
||||
Log.i(
|
||||
"$TAG Showing outgoing call notification for [${call.remoteAddress.asStringUriOnly()}]"
|
||||
)
|
||||
showCallNotification(call, false)
|
||||
}
|
||||
Call.State.Connected -> {
|
||||
if (call.dir == Call.Dir.Incoming) {
|
||||
Log.i(
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ class TelecomManager @WorkerThread constructor(context: Context) {
|
|||
|
||||
@WorkerThread
|
||||
fun onCallCreated(call: Call) {
|
||||
Log.i("$TAG Call created: $call")
|
||||
Log.i("$TAG Call to [${call.remoteAddress.asStringUriOnly()}] created")
|
||||
|
||||
val address = call.callLog.remoteAddress
|
||||
val friend = coreContext.contactsManager.findContactByAddress(address)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue