From 7f38dbcc2946b631754991d5a7279ff9866d8f7b Mon Sep 17 00:00:00 2001 From: sonora Date: Wed, 10 Sep 2014 23:03:50 +0200 Subject: [PATCH] change needed for consistency of waypooint dialogue and nav settings --- .../src/net/osmand/plus/helpers/WaypointHelper.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java index 7f4547b082..d489b27406 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java @@ -228,11 +228,17 @@ public class WaypointHelper { if(type == ALARMS) { return showAlarms() || announceAlarms(); } else if(type == POI) { - return showPOI() || announcePOI(); + //no SHOW item in settings, hence only query ANNOUNE here + //return showPOI() || announcePOI(); + return announcePOI(); } else if(type == FAVORITES) { - return showFavorites() || announceFavorites(); + //no SHOW item in settings, hence only query ANNOUNE here + //return showFavorites() || announceFavorites(); + return announceFavorites(); } else if(type == WAYPOINTS) { - return showGPXWaypoints() || announceGPXWaypoints(); + //no SHOW item in settings, hence only query ANNOUNE here + //return showGPXWaypoints() || announceGPXWaypoints(); + return announceGPXWaypoints(); } return true; }