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

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

Allow device ImsService implementing RCS to use CarrierMessagingService

The ImsService implementing RCS needs to intercept SMS messages
during RCS provisioning as part of the authentication process.
Extend the existing mechanism for carrier ImsServices to support
this feature to also include the device ImsService.

1) Instead of using the ImsService defined in the CarrierConfig
to figure out which package telephony should bind to, use the
configured RCS ImsService package name from ImsResolver, which
already determines which ImsService to bind to for RCS features.

2) Update CarrierSmsUtils to use this information to get the
ImsService implementing RCS instead of only the carrier configured
ImsService (could be device or carrier service, depending on what
is configured/bound).

3) Update docs to clarify the difference now

Bug: 188208808
Test: atest  CtsTelephonyTestCases FrameworksTelephonyTests
Change-Id: I1594450b83ea99bc8c3c0aa76a4ea49aedeb5665
parent 6895ab85
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