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

Commit 1ee5b0b9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Modify isRoaming to getRoaming from Service state tracker."

parents d18e2e8b 339c00ce
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -775,7 +775,7 @@ public class MSimNetworkControllerImpl extends NetworkControllerImpl {

    private boolean isRoaming(int phoneId) {
        return (isCdma(phoneId) ? isCdmaEri(phoneId)
                : mPhone.isNetworkRoaming(phoneId));
                : mMSimServiceState[phoneId] != null && mMSimServiceState[phoneId].getRoaming());
    }

    private final void updateDataNetType(int phoneId) {
@@ -815,7 +815,7 @@ public class MSimNetworkControllerImpl extends NetworkControllerImpl {
                    mQSDataTypeIconId = R.drawable.stat_sys_data_fully_connected_roam;
                }
            }
        } else if (mPhone.isNetworkRoaming(phoneId)) {
        } else if (isRoaming(phoneId)) {
            mMSimDataTypeIconId[phoneId] = R.drawable.stat_sys_data_fully_connected_roam;
            setQSDataTypeIcon = true;
            if (phoneId == dataSub) {
@@ -1200,7 +1200,7 @@ public class MSimNetworkControllerImpl extends NetworkControllerImpl {
                        mQSDataTypeIconId = R.drawable.stat_sys_data_fully_connected_roam;
                    }
                }
            } else if (mPhone.isNetworkRoaming(phoneId)) {
            } else if (isRoaming(phoneId)) {
                mMSimDataTypeIconId[phoneId] = R.drawable.stat_sys_data_fully_connected_roam;
                if (phoneId == dataSub) {
                    mQSDataTypeIconId = R.drawable.stat_sys_data_fully_connected_roam;