Add WakeLock to dismiss ringing call screen when call is cancelled (#4478)
* Add `WakeLock` to dismiss ringing call screen when call is cancelled We had already some checks in place to automatically cancel a ringing call notification/screen when the call was no longer active, but the `RoomInfo` updates weren't being processed because the app was 'paused'. The partial wakelock should ensure these room info updates are handled. * Add mutual exclusion to `ActiveCallManager` methods to improve thread safety
This commit is contained in:
parent
1517e534a7
commit
2e191de343
12 changed files with 152 additions and 48 deletions
|
|
@ -32,7 +32,7 @@ interface ElementCallEntryPoint {
|
|||
* @param notificationChannelId The id of the notification channel to use for the call notification.
|
||||
* @param textContent The text content of the notification. If null the default content from the system will be used.
|
||||
*/
|
||||
fun handleIncomingCall(
|
||||
suspend fun handleIncomingCall(
|
||||
callType: CallType.RoomCall,
|
||||
eventId: EventId,
|
||||
senderId: UserId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue