fix bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user