From 3ba911a6083484695e8666d2e595ed227ac71ad5 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sat, 2 Sep 2017 18:54:57 +0200 Subject: [PATCH] Update route data object --- OsmAnd-java/src/net/osmand/binary/RouteDataObject.java | 4 ++++ 1 file changed, 4 insertions(+) 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;