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

Commit b336ece4 authored by Ningyuan Wang's avatar Ningyuan Wang Committed by android-build-merger
Browse files

Merge "Cherry pick: Mcc should not set country code with persistent request"

am: be6ba3c6

Change-Id: Id68de7935f0791c66d78fee16f3cb0a8499a7f58
parents cc343aff be6ba3c6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -380,8 +380,7 @@ public final class MccTable {
        String country = MccTable.countryCodeForMcc(mcc);
        Slog.d(LOG_TAG, "WIFI_COUNTRY_CODE set to " + country);
        WifiManager wM = (WifiManager) context.getSystemService(Context.WIFI_SERVICE);
        //persist
        wM.setCountryCode(country, true);
        wM.setCountryCode(country, false);
    }

    static {