Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2013-11-26 13:45:47 +01:00
commit e675817024
2 changed files with 7 additions and 0 deletions

View file

@ -476,6 +476,8 @@ public class MapRenderRepositories {
try {
c.searchMapIndex(searchRequest);
} catch (IOException e) {
// lots of FalsePositive cases
return false;
}
if (!empty[0]) {
return false;
@ -487,6 +489,8 @@ public class MapRenderRepositories {
return false;
}
} catch (IOException e) {
// lots of FalsePositive cases
return false;
}
}
}

View file

@ -646,14 +646,17 @@ public class RouteInfoWidgetsFactory {
}
} else if(alarm.getType() == AlarmInfo.SPEED_CAMERA) {
locimgId = R.drawable.warnings_speed_camera;
text = "";
} else if(alarm.getType() == AlarmInfo.BORDER_CONTROL) {
text = "CLO";
} else if(alarm.getType() == AlarmInfo.TOLL_BOOTH) {
text = "$";
} else if(alarm.getType() == AlarmInfo.TRAFFIC_CALMING) {
locimgId = R.drawable.warnings_speed_bump;
text = "";
} else if(alarm.getType() == AlarmInfo.STOP) {
// text = "STOP";
text = "";
}
visible = (text != null && text.length() > 0) || locimgId != 0;
if (visible) {