Replace the 'answer' PendingIntent in ringing call notifications (#3093)

* Replace the 'answer' PendingIntent in ringing call notifications

Co-authored-by: Benoit Marty <benoit@matrix.org>

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
This commit is contained in:
Jorge Martin Espinosa
2024-06-25 10:36:29 +02:00
committed by GitHub
parent cc9926f96b
commit 924d78f3c7
2 changed files with 2 additions and 1 deletions

1
changelog.d/3085.bugfix Normal file
View File

@@ -0,0 +1 @@
Make sure we replace the 'answer call' pending intent on ringing call notifications.

View File

@@ -35,7 +35,7 @@ internal object IntentProvider {
context,
DefaultElementCallEntryPoint.REQUEST_CODE,
createIntent(context, callType),
0,
PendingIntent.FLAG_CANCEL_CURRENT,
false
)!!
}