forked from organicmaps/organicmaps
[android] Add GB as "Imperial units" country according to code review.
This commit is contained in:
parent
d5da445692
commit
5d1ece2c3e
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ public class UnitLocale
|
|||
public static int getCurrent()
|
||||
{
|
||||
final String code = Locale.getDefault().getCountry();
|
||||
// USA, Liberia, Burma
|
||||
String arr[] = { "US", "LR", "MM" };
|
||||
// USA, UK, Liberia, Burma
|
||||
String arr[] = { "US", "GB", "LR", "MM" };
|
||||
for (String s : arr)
|
||||
if (s.equalsIgnoreCase(code))
|
||||
return IMPERIAL;
|
||||
|
|
Loading…
Add table
Reference in a new issue