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

Commit abbb2fe0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixed the mismatched protocol anomaly detector"

parents 2b3650da 0d0a315b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2479,7 +2479,8 @@ public class DataNetwork extends StateMachine {
            }
            NetworkRegistrationInfo nri = getNetworkRegistrationInfo();
            if (mDataProfile.getApnSetting() != null && nri != null && nri.isInService()) {
                boolean isRoaming = mPhone.getServiceState().getDataRoamingFromRegistration();
                boolean isRoaming = nri.getNetworkRegistrationState()
                        == NetworkRegistrationInfo.REGISTRATION_STATE_ROAMING;
                int protocol = isRoaming ? mDataProfile.getApnSetting().getRoamingProtocol()
                        : mDataProfile.getApnSetting().getProtocol();
                String underlyingDataService = mTransport