From cc648a02fa4e81566f3814ab7c22ffa8c4ebdb46 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Sat, 13 Aug 2016 13:32:33 +0200 Subject: [PATCH] Update MainActivity.java --- .../net/osmand/core/samples/android/sample1/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java index cb417765ec..55904704f5 100644 --- a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java +++ b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java @@ -264,7 +264,7 @@ public class MainActivity extends Activity { net.osmand.core.jni.LatLon latLon = Utilities.convert31ToLatLon(target31); SearchSettings settings = searchUICore.getPhrase().getSettings().setOriginalLocation( new LatLon(latLon.getLatitude(), latLon.getLongitude())); - settings = settings.setLang(LANGUAGE); + settings = settings.setLang(LANGUAGE, false); searchUICore.updateSettings(settings); adapter.setLocation(new LatLon(latLon.getLatitude(), latLon.getLongitude()));