From c791c4a054c2d3798b7d40be6cded26632e5d528 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 26 Jul 2019 10:41:36 +0200 Subject: [PATCH] Fix issue with conditional opening hours --- .../java/net/osmand/binary/BinaryMapRouteReaderAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapRouteReaderAdapter.java b/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapRouteReaderAdapter.java index 7e5c65e8eb..19e7baac55 100644 --- a/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapRouteReaderAdapter.java +++ b/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapRouteReaderAdapter.java @@ -174,7 +174,7 @@ public class BinaryMapRouteReaderAdapter { type = HIGHWAY_TYPE; } else if(t.endsWith(":conditional") && v != null){ conditions = new ArrayList(); - String[] cts = v.split(";"); + String[] cts = v.split("\\);"); for(String c : cts) { int ch = c.indexOf('@'); if (ch > 0) {