Add missing app mode parameter
This commit is contained in:
parent
ecb5354b5a
commit
5a82e2d4b2
1 changed files with 1 additions and 1 deletions
|
@ -2396,7 +2396,7 @@ public class OsmandAidlApi {
|
|||
|
||||
public boolean addRoadBlock(ABlockedRoad road) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue