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

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

Move to a push model of querying ImsFeature Binders

[RESUBMISSION AFTER REVERT aosp/1426022]

Instead of a polling model, allow listeners to instead
listen for updates to a specific ImsFeature interface
and get notified when they are available.

FeatureConnectionRepository is used by the ImsServiceControllers
to store new MMTEL and RCS feature binders along with the
associated IMS config and registration interfaces that should be
used along with them. Listeners can then register for updates to
the ImsFeatures, including changes to capabilities and state.

The FeatureConnector has also been refactored to listen ann
update MmTel and RCS FeatureConnections in the ImsManager and
RcsFeatureManager instances as Binders become
available/unavailable or change when new SIM cards are
inserted/removed instead of using a polling method of
retrieving Binder instances.

Fixes: 169864814
Test: atest ImsCommonTests
Merged-In: Ie35b443ee2734c72f52d736f3980c1521a958d96
Change-Id: Ie35b443ee2734c72f52d736f3980c1521a958d96
parent 635f3621
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