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

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

Fix MmTelFeatureConnection closing causing bad state

MmTelFeatureConnection should only tear down listeners associated
with #open when #close is called and not also tear down unrelated
state.

This refactors the #open method to initialize mmtel/ecbm/multiendpoint
listeners so that they can be torn down properly when #close is called.

The UT interface is not tied to open/close, but it is also limited to
a single listener. Therefore, it is only torn down when the
MmTelFeatureConnection is removed.

Bug: 175810194
Test: atest CtsTelephonyTestCases ImsCommonTests
Change-Id: If42e113ba95cc5157e0fc1688d47edf4cb81831f
parent 23f045d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment