mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
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:
committed by
GitHub
parent
c727f8aaac
commit
ce28a05467
@@ -0,0 +1 @@
|
|||||||
|
Make sure we replace the 'answer call' pending intent on ringing call notifications.
|
||||||
+1
-1
@@ -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
|
||||||
)!!
|
)!!
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user