DSDA: Supporting ECC for call sequencing
Addresses a bug where when we have an active + held call on two
different subs, that historically Telecom always opts to disconnect the
live call. This suffices for the single sim case but for dual sim
behavior, we should always try to disconnect the held call and hold the
active call.
This CL also performs bulk disconnect of transactional, self-managed,
and non-holdable calls (only for DSDA). The phone account selection
logic has been modified to sort accounts based on current call state,
prioritizing accounts with ACTIVE > HOLDING > DIALING > RINGING > other
states first.
Bug: 392910450
Bug: 393240400
Flag: com.android.server.telecom.flags.enable_call_sequencing
Test: atest CtsTelecomCujTestCases
Test: atest CallSequencingTests
Change-Id: I7d1a7ce79559016dade505a9acd3af1bc3adc59b
6 files changed