Add missing app mode parameter

This commit is contained in:
Vitaliy 2020-12-21 11:54:59 +02:00
parent ecb5354b5a
commit 5a82e2d4b2

View file

@ -2396,7 +2396,7 @@ public class OsmandAidlApi {
public boolean addRoadBlock(ABlockedRoad road) { public boolean addRoadBlock(ABlockedRoad road) {
LatLon latLon = new LatLon(road.getLatitude(), road.getLongitude()); LatLon latLon = new LatLon(road.getLatitude(), road.getLongitude());
app.getAvoidSpecificRoads().addImpassableRoad(null, latLon, false, false, null); app.getAvoidSpecificRoads().addImpassableRoad(null, latLon, false, false, road.getAppModeKey());
return true; return true;
} }