mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Workaround Android not returning ISO country code in upper case
This commit is contained in:
parent
e991634ef5
commit
869d62fb8e
1 changed files with 2 additions and 2 deletions
|
@ -161,8 +161,8 @@ public class ConnectionHelper {
|
|||
String network = tm.getNetworkCountryIso();
|
||||
Log.i("Country SIM=" + sim + " network=" + network);
|
||||
if (sim != null && network != null &&
|
||||
RLAH_COUNTRY_CODES.contains(sim) &&
|
||||
RLAH_COUNTRY_CODES.contains(network))
|
||||
RLAH_COUNTRY_CODES.contains(sim.toUpperCase()) &&
|
||||
RLAH_COUNTRY_CODES.contains(network.toUpperCase()))
|
||||
state.roaming = false;
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
|
|
Loading…
Reference in a new issue