Files
letro-android/features/call
Jorge Martin Espinosa 10bf5f1c8c 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
..