修復bug

http://jira.zhidaohulian.com/browse/E84XAD-245
This commit is contained in:
donghongyu
2020-12-06 13:48:41 +08:00
parent 2fea566c26
commit 82da081817

View File

@@ -70,12 +70,8 @@ public class V2XAlarmServer {
CopyOnWriteArrayList<V2XRoadEventEntity> v2XRoadEventEntityList,
MogoLocation currentLocation) {
try {
// M1低配车机限制
// 不展示UGC问答
if (DebugConfig.isMapBased()) {
// 检测道路事件是否需UGC问答
V2XEarlyWarningServer.roadEventUgcCheck(currentLocation);
}
// 检测道路事件是否需UGC问答
V2XEarlyWarningServer.roadEventUgcCheck(currentLocation);
// 60(km/h)
if (currentLocation != null && v2XRoadEventEntityList != null) {
// 因为集合是按照距离排序后的所以这里检索出来第一个就发出警告