bugfix AND-a60: use approachPoints

This commit is contained in:
sonora 2014-09-10 13:20:02 +02:00
parent 068ddb8e41
commit 9497bdfaf0

View file

@ -336,7 +336,7 @@ public class WaypointHelper {
getVoiceRouter().approachPoi(lastKnownLocation, approachPoints);
} else if (type == ALARMS) {
EnumSet<AlarmInfoType> ait = EnumSet.noneOf(AlarmInfoType.class);
for(LocationPointWrapper pw : announcePoints) {
for(LocationPointWrapper pw : approachPoints) {
ait.add(((AlarmInfo) pw.point).getType());
}
for(AlarmInfoType t : ait) {