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

Commit b209db8d authored by Hall Liu's avatar Hall Liu
Browse files

Turn off RTT if a carrier doesn't support it

If a SIM of a carrier that doesn't support RTT is inserted, turn off RTT
in ImsConfig.

Fixes: 154166852
Fixes: 160208736
Test: manual
Change-Id: I680fc9dd64c9f631ce0bfb8d0fafee41924cefb2
(cherry picked from commit eff7d785)
parent de4cd0f2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2077,6 +2077,8 @@ public class ImsManager implements IFeatureConnector {

        if (isCarrierSupported) {
            setRttConfig(shouldImsRttBeOn);
        } else {
            setRttConfig(false);
        }
        return isCarrierSupported && shouldImsRttBeOn;
    }