Fix Australia country code

This commit is contained in:
Alexey Kulish 2016-09-15 19:54:09 +03:00
parent 971c3f99a1
commit 292d440583

View file

@ -756,7 +756,7 @@ public class OsmandSettings {
return DrivingRegion.CANADA; return DrivingRegion.CANADA;
} else if (df.getCountry().equalsIgnoreCase(Locale.JAPAN.getCountry())) { } else if (df.getCountry().equalsIgnoreCase(Locale.JAPAN.getCountry())) {
return DrivingRegion.JAPAN; return DrivingRegion.JAPAN;
} else if (df.getCountry().equalsIgnoreCase(Locale.AU.getCountry())) { } else if (df.getCountry().equalsIgnoreCase("au")) {
return DrivingRegion.AUSTRALIA; return DrivingRegion.AUSTRALIA;
// potentially wrong in Europe // potentially wrong in Europe
// } else if(df.getCountry().equalsIgnoreCase(Locale.UK.getCountry())) { // } else if(df.getCountry().equalsIgnoreCase(Locale.UK.getCountry())) {