fix build

This commit is contained in:
sonora 2012-01-29 21:50:49 +01:00
parent 4b794bbbce
commit 663a1ed791

View file

@ -499,8 +499,7 @@ public class RoutingHelper {
int l = dist != null && dist.length > 0 ? dist[0] : 0; int l = dist != null && dist.length > 0 ? dist[0] : 0;
showMessage(context.getString(R.string.new_route_calculated_dist) showMessage(context.getString(R.string.new_route_calculated_dist)
+ " : " + OsmAndFormatter.getFormattedDistance(l, context)); //$NON-NLS-1$ + " : " + OsmAndFormatter.getFormattedDistance(l, context)); //$NON-NLS-1$
} else { } else if (service != RouteService.OSMAND && !settings.isInternetConnectionAvailable()) {
if (service != RouteService.OSMAND && !settings.isInternetConnectionAvailable()) {
showMessage(context.getString(R.string.error_calculating_route) showMessage(context.getString(R.string.error_calculating_route)
+ " : " + context.getString(R.string.internet_connection_required_for_online_route), Toast.LENGTH_LONG); //$NON-NLS-1$ + " : " + context.getString(R.string.internet_connection_required_for_online_route), Toast.LENGTH_LONG); //$NON-NLS-1$
} else { } else {