fix build
This commit is contained in:
parent
4b794bbbce
commit
663a1ed791
1 changed files with 1 additions and 2 deletions
|
@ -499,8 +499,7 @@ public class RoutingHelper {
|
|||
int l = dist != null && dist.length > 0 ? dist[0] : 0;
|
||||
showMessage(context.getString(R.string.new_route_calculated_dist)
|
||||
+ " : " + OsmAndFormatter.getFormattedDistance(l, context)); //$NON-NLS-1$
|
||||
} else {
|
||||
if (service != RouteService.OSMAND && !settings.isInternetConnectionAvailable()) {
|
||||
} else if (service != RouteService.OSMAND && !settings.isInternetConnectionAvailable()) {
|
||||
showMessage(context.getString(R.string.error_calculating_route)
|
||||
+ " : " + context.getString(R.string.internet_connection_required_for_online_route), Toast.LENGTH_LONG); //$NON-NLS-1$
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue