diff --git a/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java b/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java index 0ef153c0ef..938a87d1be 100644 --- a/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java +++ b/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java @@ -476,6 +476,8 @@ public class MapRenderRepositories { try { c.searchMapIndex(searchRequest); } catch (IOException e) { + // lots of FalsePositive cases + return false; } if (!empty[0]) { return false; @@ -487,6 +489,8 @@ public class MapRenderRepositories { return false; } } catch (IOException e) { + // lots of FalsePositive cases + return false; } } } diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java index c5d6e826e1..59f4276c27 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java @@ -646,14 +646,17 @@ public class RouteInfoWidgetsFactory { } } else if(alarm.getType() == AlarmInfo.SPEED_CAMERA) { locimgId = R.drawable.warnings_speed_camera; + text = ""; } else if(alarm.getType() == AlarmInfo.BORDER_CONTROL) { text = "CLO"; } else if(alarm.getType() == AlarmInfo.TOLL_BOOTH) { text = "$"; } else if(alarm.getType() == AlarmInfo.TRAFFIC_CALMING) { locimgId = R.drawable.warnings_speed_bump; + text = ""; } else if(alarm.getType() == AlarmInfo.STOP) { // text = "STOP"; + text = ""; } visible = (text != null && text.length() > 0) || locimgId != 0; if (visible) {