Trying to prevent issue with IncomingCallActivity not displayed sometimes

This commit is contained in:
Sylvain Berfini 2022-03-04 13:51:24 +01:00
parent fc901e8131
commit 3cd8110db3
2 changed files with 1 additions and 2 deletions

View file

@ -68,7 +68,6 @@ class ConferenceParticipantDeviceData(
override fun onConferenceLeft(participantDevice: ParticipantDevice) { override fun onConferenceLeft(participantDevice: ParticipantDevice) {
Log.i("[Conference Participant Device] Participant [${participantDevice.address.asStringUriOnly()}] has left the conference") Log.i("[Conference Participant Device] Participant [${participantDevice.address.asStringUriOnly()}] has left the conference")
isInConference.value = false isInConference.value = false
updateWindowId(null)
} }
override fun onStreamCapabilityChanged( override fun onStreamCapabilityChanged(

View file

@ -456,7 +456,7 @@ class NotificationsManager(private val context: Context) {
context, context,
0, 0,
incomingCallNotificationIntent, incomingCallNotificationIntent,
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE
) )
val notification = Compatibility.createIncomingCallNotification(context, call, notifiable, pendingIntent, this) val notification = Compatibility.createIncomingCallNotification(context, call, notifiable, pendingIntent, this)