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

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

Mcc should not set country code with persistent request

am: b31c62c8

Change-Id: I6045a8feca22baebe65cc039d47e54cfdae38ec2
parents 435afbe7 b31c62c8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -387,8 +387,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 {