[6.5.0]红绿灯优化
This commit is contained in:
@@ -179,9 +179,9 @@ class TrafficLightDispatcher : IMoGoAutopilotIdentifyListener, IMoGoTrafficLight
|
||||
lastLightTime = System.currentTimeMillis()
|
||||
if (lightCountDownTimer == null){
|
||||
UiThreadHandler.post {
|
||||
lightCountDownTimer = object : CountDownTimer(300000, 1000) {
|
||||
lightCountDownTimer = object : CountDownTimer(300000, 500) {
|
||||
override fun onTick(millisUntilFinished: Long) {
|
||||
if ((System.currentTimeMillis() - lastLightTime) > 1500) {
|
||||
if ((System.currentTimeMillis() - lastLightTime) > 1000) {
|
||||
//隐藏红绿灯显示
|
||||
hide("倒计时结束隐藏", DataSourceType.TELEMATIC_UNION_V2N)
|
||||
lightCountDownTimer?.cancel()
|
||||
|
||||
Reference in New Issue
Block a user