Rename updateDestinationStreetName
This commit is contained in:
parent
6155937085
commit
24a035dfb4
1 changed files with 2 additions and 2 deletions
|
@ -1067,7 +1067,7 @@ public class ShowRouteInfoDialogFragment extends BaseOsmAndFragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
protected void acquireStreetName(LatLon latLon) {
|
protected void updateDestinationStreetName(LatLon latLon) {
|
||||||
GeocodingLookupService.AddressLookupRequest addressLookupRequest = new GeocodingLookupService.AddressLookupRequest(latLon, new GeocodingLookupService.OnAddressLookupResult() {
|
GeocodingLookupService.AddressLookupRequest addressLookupRequest = new GeocodingLookupService.AddressLookupRequest(latLon, new GeocodingLookupService.OnAddressLookupResult() {
|
||||||
@Override
|
@Override
|
||||||
public void geocodingDone(String address) {
|
public void geocodingDone(String address) {
|
||||||
|
@ -1238,7 +1238,7 @@ public class ShowRouteInfoDialogFragment extends BaseOsmAndFragment {
|
||||||
buildDescriptionView(new SpannableString(destinationStreetStr), llText, 4, 4);
|
buildDescriptionView(new SpannableString(destinationStreetStr), llText, 4, 4);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
acquireStreetName(location);
|
updateDestinationStreetName(location);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue