fix 'dummy' parameter

This commit is contained in:
afischerdev 2025-03-12 18:55:55 +01:00
parent 6a8863510d
commit a07fd6a400
2 changed files with 8 additions and 3 deletions

View file

@ -64,7 +64,8 @@ public class BRouterService extends Service {
worker.segmentDir = new File(baseDir, "brouter/segments4");
String errMsg = null;
if (engineMode == RoutingEngine.BROUTER_ENGINEMODE_ROUTING) {
if (engineMode == RoutingEngine.BROUTER_ENGINEMODE_ROUTING ||
engineMode == RoutingEngine.BROUTER_ENGINEMODE_ROUNDTRIP) {
String remoteProfile = params.getString("remoteProfile", null);
if (remoteProfile == null) {