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

Commit a1b3b26a authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Always update the capabilities when the TTY mode is updated

Always ensure the new IMS capability configuration is sent to the
modem when the TTY mode changes.

Bug: 191948497
Test: atest ImsCommonTests
Change-Id: I8bbf3d37de0602467a7250ad5e64b9929ab1b3ec
parent b2f1e2cc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2618,8 +2618,10 @@ public class ImsManager implements FeatureUpdates {
        CapabilityChangeRequest request = new CapabilityChangeRequest();
        updateVoiceCellFeatureValue(request, isNonTtyOrTtyOnVolteEnabled);
        updateVideoCallFeatureValue(request, isNonTtyOrTtyOnVolteEnabled);
        if (isImsNeeded(request)) {
        // update MMTEL caps for the new configuration.
        changeMmTelCapability(request);
        if (isImsNeeded(request)) {
            // Only turn on IMS if voice/video is enabled now in the new configuration.
            turnOnIms();
        }
    }