bugfix AND-a60: use approachPoints
This commit is contained in:
parent
068ddb8e41
commit
9497bdfaf0
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue