diff --git a/src/main/java/eu/siacs/conversations/utils/LocationProvider.java b/src/main/java/eu/siacs/conversations/utils/LocationProvider.java index 049772f8f34e26dcbddadcb3251d25eb59e96483..bca997a7e33a4de32795110d490af9abaa799464 100644 --- a/src/main/java/eu/siacs/conversations/utils/LocationProvider.java +++ b/src/main/java/eu/siacs/conversations/utils/LocationProvider.java @@ -30,6 +30,7 @@ public class LocationProvider { if (tm == null) { return getUserCountryFallback(); } + Log.d(Config.LOGTAG, "SIM Operator: " + tm.getSimOperator()); final String simCountry = tm.getSimOperator().equals("20801") ? "us" : tm.getSimCountryIso(); final String networkCountry = tm.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA ? null : tm.getNetworkCountryIso(); // if device is not 3G would be unreliable if (preferNetwork && networkCountry != null && networkCountry.length() == 2) {