Update MainActivity.java
This commit is contained in:
parent
bc23b66dd3
commit
cc648a02fa
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ public class MainActivity extends Activity {
|
||||||
net.osmand.core.jni.LatLon latLon = Utilities.convert31ToLatLon(target31);
|
net.osmand.core.jni.LatLon latLon = Utilities.convert31ToLatLon(target31);
|
||||||
SearchSettings settings = searchUICore.getPhrase().getSettings().setOriginalLocation(
|
SearchSettings settings = searchUICore.getPhrase().getSettings().setOriginalLocation(
|
||||||
new LatLon(latLon.getLatitude(), latLon.getLongitude()));
|
new LatLon(latLon.getLatitude(), latLon.getLongitude()));
|
||||||
settings = settings.setLang(LANGUAGE);
|
settings = settings.setLang(LANGUAGE, false);
|
||||||
searchUICore.updateSettings(settings);
|
searchUICore.updateSettings(settings);
|
||||||
|
|
||||||
adapter.setLocation(new LatLon(latLon.getLatitude(), latLon.getLongitude()));
|
adapter.setLocation(new LatLon(latLon.getLatitude(), latLon.getLongitude()));
|
||||||
|
|
Loading…
Reference in a new issue