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

Commit 878d2511 authored by Sungmin Choi's avatar Sungmin Choi Committed by Android Git Automerger
Browse files

am 84d51c67: Fix automatic network selection mode issue

* commit '84d51c67':
  Fix automatic network selection mode issue
parents 59a05216 84d51c67
Loading
Loading
Loading
Loading
+14 −11
Original line number Diff line number Diff line
@@ -1019,7 +1019,7 @@ public abstract class PhoneBase extends Handler implements Phone {
                // send the setting on error
            }
        }
        if (doAutomatic) {

        // wrap the response message in our own message along with
        // an empty string (to indicate automatic selection) for the
        // operator's id.
@@ -1029,13 +1029,16 @@ public abstract class PhoneBase extends Handler implements Phone {
        nsm.operatorAlphaLong = "";
        nsm.operatorAlphaShort = "";

        if (doAutomatic) {
            Message msg = obtainMessage(EVENT_SET_NETWORK_AUTOMATIC_COMPLETE, nsm);
            mCi.setNetworkSelectionModeAutomatic(msg);

            updateSavedNetworkOperator(nsm);
        } else {
            Rlog.d(LOG_TAG, "setNetworkSelectionModeAutomatic - already auto, ignoring");
            ar.userObj = nsm;
            handleSetSelectNetwork(ar);
        }

        updateSavedNetworkOperator(nsm);
    }

    @Override