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 c727f8aaac
commit ce28a05467
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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
)!!
}