verified that the EnumSet of alarmInfoTypes is in deed complete ...

This commit is contained in:
sonora 2014-09-10 13:07:35 +02:00
parent de70aec8d3
commit 068ddb8e41

View file

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