try fix ADN-160 (possibly wrong EnumSet)
This commit is contained in:
parent
b12bd601d9
commit
8e752376ca
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ public class WaypointHelper {
|
||||||
} else if (type == POI) {
|
} else if (type == POI) {
|
||||||
getVoiceRouter().approachPoi(lastKnownLocation, approachPoints);
|
getVoiceRouter().approachPoi(lastKnownLocation, approachPoints);
|
||||||
} else if (type == ALARMS) {
|
} else if (type == ALARMS) {
|
||||||
EnumSet<AlarmInfoType> ait = EnumSet.noneOf(AlarmInfoType.class);
|
EnumSet<AlarmInfoType> ait = EnumSet.allOf(AlarmInfoType.class);
|
||||||
for(LocationPointWrapper pw : announcePoints) {
|
for(LocationPointWrapper pw : announcePoints) {
|
||||||
ait.add(((AlarmInfo) pw.point).getType());
|
ait.add(((AlarmInfo) pw.point).getType());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue