Back out AND-160 fix attempts for now, looks like they did not work
This commit is contained in:
parent
af93ab7f37
commit
752f4a2ae0
2 changed files with 2 additions and 2 deletions
|
@ -246,7 +246,7 @@ public class WaypointHelper {
|
|||
if (pointTypes != null) {
|
||||
for (int r = 0; r < pointTypes.length; r++) {
|
||||
RouteTypeRule typeRule = reg.quickGetEncodingRule(pointTypes[r]);
|
||||
AlarmInfo info = AlarmInfo.createAlarmInfo(typeRule, i, loc);
|
||||
AlarmInfo info = AlarmInfo.createAlarmInfo(typeRule, 0, loc);
|
||||
if (info != null) {
|
||||
if (info.getType() != AlarmInfoType.SPEED_CAMERA || showCameras) {
|
||||
long ms = System.currentTimeMillis() ;
|
||||
|
|
|
@ -97,7 +97,7 @@ public class AlarmInfo implements LocationPoint {
|
|||
if(alarmInfo != null) {
|
||||
alarmInfo.setLatLon(loc.getLatitude(), loc.getLongitude());
|
||||
}
|
||||
return alarmInfo;
|
||||
return null;
|
||||
}
|
||||
|
||||
public int updateDistanceAndGetPriority(float time, float distance) {
|
||||
|
|
Loading…
Reference in a new issue