From 292d440583ad6a1cac6b09b405976574a959e172 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Thu, 15 Sep 2016 19:54:09 +0300 Subject: [PATCH] Fix Australia country code --- OsmAnd/src/net/osmand/plus/OsmandSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmandSettings.java b/OsmAnd/src/net/osmand/plus/OsmandSettings.java index afa519693b..2c07a32502 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandSettings.java +++ b/OsmAnd/src/net/osmand/plus/OsmandSettings.java @@ -756,7 +756,7 @@ public class OsmandSettings { return DrivingRegion.CANADA; } else if (df.getCountry().equalsIgnoreCase(Locale.JAPAN.getCountry())) { return DrivingRegion.JAPAN; - } else if (df.getCountry().equalsIgnoreCase(Locale.AU.getCountry())) { + } else if (df.getCountry().equalsIgnoreCase("au")) { return DrivingRegion.AUSTRALIA; // potentially wrong in Europe // } else if(df.getCountry().equalsIgnoreCase(Locale.UK.getCountry())) {