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