Fix compilation
This commit is contained in:
parent
523fdd1e00
commit
bffb13f7e9
3 changed files with 2 additions and 3 deletions
|
@ -647,7 +647,7 @@ public class TargetPointsHelper {
|
|||
|
||||
|
||||
public boolean hasTooLongDistanceToNavigate() {
|
||||
if (settings.ROUTER_SERVICE.getModeValue(routingHelper.getAppMode()) != RouteService.OSMAND) {
|
||||
if (routingHelper.getAppMode().getRouteService() != RouteService.OSMAND) {
|
||||
return false;
|
||||
}
|
||||
Location current = routingHelper.getLastProjection();
|
||||
|
|
|
@ -152,7 +152,7 @@ public class SettingsProfileFragment extends BaseOsmAndFragment {
|
|||
if (mode != ApplicationMode.DEFAULT) {
|
||||
profiles.add(new ProfileDataObject( mode.toHumanString(ctx),
|
||||
ctx.getString(BaseProfilesDescr.valueOf(mode.getStringKey().toUpperCase()).getDescrRes()),
|
||||
mode.getStringKey(), mode.getSmallIconDark(), false, mode.getIconColorInfo()));
|
||||
mode.getStringKey(), mode.getIconRes(), false, mode.getIconColorInfo()));
|
||||
}
|
||||
}
|
||||
return profiles;
|
||||
|
|
|
@ -532,7 +532,6 @@ public class RouteProvider {
|
|||
newParams.ctx = rParams.ctx;
|
||||
newParams.calculationProgress = rParams.calculationProgress;
|
||||
newParams.mode = rParams.mode;
|
||||
newParams.type = RouteService.OSMAND;
|
||||
newParams.leftSide = rParams.leftSide;
|
||||
RouteCalculationResult newRes = null;
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue