This commit is contained in:
zhongchao
2021-11-17 11:43:54 +08:00
parent 047d4abbfc
commit 69eac09409

View File

@@ -52,11 +52,12 @@ class VipCarManager : IMogoOnMessageListener<VipMessage>, IMoGoTrafficLightListe
if (vipSetTime == -1L) {
return
}
CallTrafficLightListenerManager.registerTrafficLightListener(TAG, this)
//todo 后续改成接口调用查询,防止清除缓存造成状态不统一
if (vipSetTime > 0 && System.currentTimeMillis() - vipSetTime < 0) { //未超时需要设置VIP
vip = true
CallerHmiManager.vipIdentification(true)
CallTrafficLightListenerManager.registerTrafficLightListener(TAG, this)
} else {
vip = false
CallerHmiManager.vipIdentification(false)