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

Commit 63195763 authored by Jack Yu's avatar Jack Yu Committed by android-build-merger
Browse files

Merge "Fixed incorrect IWLAN service state in legacy mode"

am: ee975390

Change-Id: Icdbdbd8362da36fd3ae5dd3ea89474df1e2db055
parents 316f71bd ee975390
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5201,7 +5201,7 @@ public class ServiceStateTracker extends Handler {
        // mode, the WWAN registration will correctly report the actual cellular registration info
        // when the device camps on IWLAN.
        if (mTransportManager.isInLegacyMode()) {
            NetworkRegistrationInfo wwanNri = mSS.getNetworkRegistrationInfo(
            NetworkRegistrationInfo wwanNri = mNewSS.getNetworkRegistrationInfo(
                    NetworkRegistrationInfo.DOMAIN_PS, AccessNetworkConstants.TRANSPORT_TYPE_WWAN);
            if (wwanNri != null && wwanNri.getAccessNetworkTechnology()
                    == TelephonyManager.NETWORK_TYPE_IWLAN) {
@@ -5214,7 +5214,7 @@ public class ServiceStateTracker extends Handler {
                        .setEmergencyOnly(wwanNri.isEmergencyEnabled())
                        .setAvailableServices(wwanNri.getAvailableServices())
                        .build();
                mSS.addNetworkRegistrationInfo(wlanNri);
                mNewSS.addNetworkRegistrationInfo(wlanNri);
            }
        }
    }