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:
parent
cc9926f96b
commit
924d78f3c7
2 changed files with 2 additions and 1 deletions
1
changelog.d/3085.bugfix
Normal file
1
changelog.d/3085.bugfix
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Make sure we replace the 'answer call' pending intent on ringing call notifications.
|
||||||
|
|
@ -35,7 +35,7 @@ internal object IntentProvider {
|
||||||
context,
|
context,
|
||||||
DefaultElementCallEntryPoint.REQUEST_CODE,
|
DefaultElementCallEntryPoint.REQUEST_CODE,
|
||||||
createIntent(context, callType),
|
createIntent(context, callType),
|
||||||
0,
|
PendingIntent.FLAG_CANCEL_CURRENT,
|
||||||
false
|
false
|
||||||
)!!
|
)!!
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue