fixed bug
This commit is contained in:
@@ -534,7 +534,7 @@ class MogoPrivateObuManager private constructor() {
|
||||
//预警信息,预警类型 threat_level 2、3
|
||||
info.threat_info?.let {
|
||||
//预警方位
|
||||
val direction = getMessageDirection(info.ext_info.target_classification)
|
||||
val direction = getMessageDirection(if (info.ext_info != null) info.ext_info.target_classification else -1)
|
||||
//处理预警类型
|
||||
val appId = info.threat_info.app_id
|
||||
val level = info.threat_info.threat_level
|
||||
|
||||
Reference in New Issue
Block a user