diff --git a/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java b/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java index 06d892ae95..1481ac0404 100644 --- a/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java +++ b/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java @@ -397,6 +397,10 @@ public class RouteDataObject { public int getRestrictionType(int i) { return (int) (restrictions[i] & RESTRICTION_MASK); } + + public long getRawRestriction(int i) { + return restrictions[i]; + } public long getRestrictionId(int i) { return restrictions[i] >> RESTRICTION_SHIFT;