Disconnect ongoing calls for emergency based on CarrierConfig
When KEY_ALLOW_HOLD_CALL_DURING_EMERGENCY_BOOL is false, disconnect
any ongoing calls before placing a new outgoing emergency call with
the DisconnectCause reason REASON_EMERGENCY_CALL_PLACED to notify
Telecom and Dialer that a call was disconnected for an emergency
call.
Bug: 138741228
Test: atest CtsTelephonyTestCases; atest FrameworksTelephonyTests
Test: atest TeleServiceTests
Change-Id: If0319bae9a2e6830365fd666c7d9d49cdf2f0da2
3 files changed