commit
980d6ed9ff
1 changed files with 2 additions and 4 deletions
|
@ -137,13 +137,13 @@ 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);
|
||||
}
|
||||
MapActivity.launchMapActivityMoveToTop(GeoIntentActivity.this);
|
||||
GeoIntentActivity.this.finish();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
@ -151,8 +151,6 @@ public class GeoIntentActivity extends OsmandListActivity {
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
protected void onStop() {
|
||||
dismiss();
|
||||
|
|
Loading…
Reference in a new issue