element-x-ada/features/call/impl
Jorge Martin Espinosa 651263111e
Make sure declining a call stops observing the ringing call state (#5563)
* Add shared `removeCurrentCall` function to `DefaultActiveCallManager`

This centralises the shared call cancellation logic

* Add regression test for the issue

* Make sure the existing iterations of `flatMapLatest` in `observeRingingCall` get cancelled when the active call is null or not ringing anymore by passing null values, then filtering them out

Previously these kept running even if the `activeCall` was no longer valid

* Move the `timedOutCallJob` cancellation inside `removeCurrentCall` too
2025-10-21 11:26:13 +02:00
..
src Make sure declining a call stops observing the ringing call state (#5563) 2025-10-21 11:26:13 +02:00
build.gradle.kts Merge branch 'develop' into feature/bma/testEntryPoint 2025-09-18 18:58:30 +02:00