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

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

Merge "Add config flag for restricting net_sel_mode request."

parents 348babc3 8176de0b
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -304,8 +304,12 @@ public class CdmaServiceStateTracker extends ServiceStateTracker {
            if (DBG) log("Receive EVENT_RUIM_READY");
            pollState();

            boolean skipRestoringSelection = mPhone.getContext().getResources().getBoolean(
                    com.android.internal.R.bool.skip_restoring_network_selection);
            if (!skipRestoringSelection) {
                 // Only support automatic selection mode in CDMA.
                 mPhone.setNetworkSelectionModeAutomatic(null);
            }

            mPhone.prepareEri();
            break;