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

Commit cf03a4ca authored by Sarah Chin's avatar Sarah Chin Committed by Automerger Merge Worker
Browse files

Merge "WFC SPN only when connected to WiFi" am: 01df6a78 am: 6df51fdb

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1932849

Change-Id: I7dcb1034d76f80ae2daaac1ab23b885b76c225f7
parents f59385f2 6df51fdb
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2754,8 +2754,10 @@ public class ServiceStateTracker extends Handler {
        String wfcFlightSpnFormat = null;
        int combinedRegState = getCombinedRegState(mSS);
        if (mPhone.getImsPhone() != null && mPhone.getImsPhone().isWifiCallingEnabled()
                && (combinedRegState == ServiceState.STATE_IN_SERVICE)) {
            // In Wi-Fi Calling mode show SPN or PLMN + WiFi Calling
                && (combinedRegState == ServiceState.STATE_IN_SERVICE
                && mSS.getDataNetworkType() == TelephonyManager.NETWORK_TYPE_IWLAN)) {
            // In Wi-Fi Calling mode (connected to WiFi and WFC enabled),
            // show SPN or PLMN + WiFi Calling
            //
            // 1) Show SPN + Wi-Fi Calling If SIM has SPN and SPN display condition
            //    is satisfied or SPN override is enabled for this carrier