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

Skip to content
Commit d0628ae3 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Support notifying Telecom when a call is ended due to new emergency call

When there is a new outgoing emergency call, the telephony
ConnectionService may choose to end existing calls based on
carrier configurations. This change introduces a new DisconnectCause
reason, which allws Telecom to pop up a notification when calls
in this fasion.

Also restricts the possible PhoneAccounts that can have simultaneous
non-emergency+emergency calls to those with the
CAPABILITY_PLACE_EMERGENCY_CALLS capability to make sure 3rd party
PhoneAccounts do not perform badly and affect the outgoing emergency
call.

Bug: 138741228
Test: atest TelecomUnitTests; atest CtsTelecomTestCases
Change-Id: I1e1836367080e8235ebb4818a49f2aa26ad1d7a0
parent 4940e5d1
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