[android] Add GB as "Imperial units" country according to code review.

This commit is contained in:
vng 2012-09-27 15:21:38 +03:00 committed by Alex Zolotarev
parent d5da445692
commit 5d1ece2c3e

View file

@ -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;