From 17bfc08cae5ab1242f74061876871b8adbfa87a9 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 11 Aug 2013 23:34:26 +0200 Subject: [PATCH] Speak routing info on left panel click --- .../osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java index 23037c6bde..f7f467da99 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java @@ -125,6 +125,9 @@ public class RouteInfoWidgetsFactory { // nextTurnInfo.nextTurnDirection = 580; // TurnPathHelper.calcTurnPath(nextTurnInfo.pathForTurn, nextTurnInfo.turnType,nextTurnInfo.pathTransform); // showMiniMap = true; + if(routingHelper.isRouteCalculated()) { + routingHelper.getVoiceRouter().announceCurrentDirection(null); + } nextTurnInfo.requestLayout(); nextTurnInfo.invalidate(); }