Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2cc89e4a authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Ensure calls are not unheld between apps automatically.

When locally disconnecting a call, we have the behavior of automatically
unholding the held background call.  This was originally intended for use
with PSTN calls.  However, when using different apps it makes for a bad
user experience if a call terminated in the dialer auto-unholds a call in
a VOIP app, for example.

As part of this refactored the performRemoval code into a new method in
CAllsManager.  The use of a future made it hard to test this in unit tests.
The only delta is the addition of "areFromSameSource" in the auto-unhold
code.

Test: Manual using test app.
Test: Add new unit test to verify auto-unhold on local disconnect in same app
Test: Add new unit test to verify no auto-unhold on local disconnect in different app
Fixes: 253311155
Change-Id: I4eed793d57a16af64040aaa39c9f68884273858c
parent 7b6c9ba0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment