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

Commit 2e62e9d6 authored by kun.tang's avatar kun.tang Committed by android-build-merger
Browse files

Merge "Restore saved network selection accordding to config.xml" am:...

Merge "Restore saved network selection accordding to config.xml" am: 09422470 am: 7ee4fab3 am: f3c91f3b
am: 38b0c82e

Change-Id: I37093b72e9000f3850db23507b00ae25ed6c4b6a
parents 940b772e 38b0c82e
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -3319,7 +3319,9 @@ public abstract class Phone extends Handler implements PhoneInternalInterface {
        mRadioCapability.set(rc);
        mRadioCapability.set(rc);


        if (SubscriptionManager.isValidSubscriptionId(getSubId())) {
        if (SubscriptionManager.isValidSubscriptionId(getSubId())) {
            sendSubscriptionSettings(true);
            boolean restoreSelection = !mContext.getResources().getBoolean(
                    com.android.internal.R.bool.skip_restoring_network_selection);
            sendSubscriptionSettings(restoreSelection);
        }
        }
    }
    }