From 61122b2ecf4d97a0fb96975b9ce174c48b23a79d Mon Sep 17 00:00:00 2001 From: max-klaus Date: Thu, 5 Dec 2019 19:16:26 +0300 Subject: [PATCH] Fix speed cam announce --- OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java index a1b17b5b0b..3fa9e6fb22 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java @@ -648,7 +648,7 @@ public class WaypointHelper { i.getLatitude(), i.getLongitude()) < DISTANCE_IGNORE_DOUBLE_SPEEDCAMS) { // ignore double speed cams } else { - lw.setAnnounce(app.getSettings().SPEAK_SPEED_CAMERA.get()); + lw.setAnnounce(app.getSettings().SPEAK_SPEED_CAMERA.getModeValue(mode)); array.add(lw); prevSpeedCam = i; }