This commit is contained in:
Victor Shcherb 2013-01-11 13:19:48 +01:00
parent 5182f7fb61
commit 9b15c5dafd

View file

@ -657,7 +657,7 @@ public class RouteInfoControls {
} else if(alarm.getType() == AlarmInfo.STOP) {
// text = "STOP";
}
visible = text.length() > 0;
visible = text != null && text.length() > 0;
if (visible) {
if (alarm.getType() == AlarmInfo.SPEED_CAMERA) {
visible = cams;