Fix #4233
This commit is contained in:
parent
36ca54f3dc
commit
c4d4d3d4f7
1 changed files with 5 additions and 4 deletions
|
@ -138,11 +138,12 @@ public class GeoIntentActivity extends OsmandListActivity {
|
|||
settings.setMapLocationToShow(p.getLatitude(), p.getLongitude(),
|
||||
settings.getLastKnownMapZoom(), pd); //$NON-NLS-1$
|
||||
MapActivity.launchMapActivityMoveToTop(GeoIntentActivity.this);
|
||||
} else {
|
||||
Uri uri = intent.getData();
|
||||
String searchString = p != null && p.isGeoAddress() ? p.getQuery() : uri.toString();
|
||||
settings.setSearchRequestToShow(searchString);
|
||||
MapActivity.launchMapActivityMoveToTop(GeoIntentActivity.this);
|
||||
}
|
||||
Uri uri = intent.getData();
|
||||
String searchString = p != null && p.isGeoAddress() ? p.getQuery() : uri.toString();
|
||||
settings.setSearchRequestToShow(searchString);
|
||||
MapActivity.launchMapActivityMoveToTop(GeoIntentActivity.this);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue