From 55f47a305aa73851597cb551c7a764cbe4504c3b Mon Sep 17 00:00:00 2001 From: Areg Date: Mon, 15 Oct 2012 11:12:15 +0100 Subject: [PATCH] Added Miles/yard to SettingsActivity.java --- OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java index 85c3fdea44..ddf51439d4 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java @@ -306,7 +306,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference new Integer[] {ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE, ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED}); - MetricsConstants[] mvls = new MetricsConstants[] {MetricsConstants.KILOMETERS_AND_METERS, MetricsConstants.MILES_AND_FOOTS}; //MetricsConstants.values(); + MetricsConstants[] mvls = new MetricsConstants[] {MetricsConstants.KILOMETERS_AND_METERS, MetricsConstants.MILES_AND_FOOTS, MetricsConstants.MILES_AND_YARDS}; //MetricsConstants.values(); entries = new String[mvls.length]; for(int i=0; i