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

Commit 881b57b1 authored by Hall Liu's avatar Hall Liu Committed by Josh Hou
Browse files

Do not turn on IMS for RTT when there is no SIM

Let the modem figure out how to establish an RTT emergency call when
there's no sim instead of forcing IMS on

Bug: 156172685
Test: manual
Change-Id: Id39aefc959f763905f2958e4ca7ae3f80ce66ef7
Merged-In: Id39aefc959f763905f2958e4ca7ae3f80ce66ef7
parent b0e2bcb6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1339,7 +1339,10 @@ public class ImsManager implements IFeatureConnector {
                updateVolteFeatureValue(request);
                updateWfcFeatureAndProvisionedValues(request);
                updateVideoCallFeatureValue(request);
                boolean isImsNeededForRtt = updateRttConfigValue();
                // Only turn on IMS for RTT if there's an active subscription present. If not, the
                // modem will be in emergency-call-only mode and will use separate signaling to
                // establish an RTT emergency call.
                boolean isImsNeededForRtt = updateRttConfigValue() && isActiveSubscriptionPresent();
                // Supplementary services over UT do not require IMS registration. Do not alter IMS
                // registration based on UT.
                updateUtFeatureValue(request);