fix bug tts of callchat and trafficlight code
This commit is contained in:
zhongchao
2021-11-15 20:14:41 +08:00
parent 9deee6d58c
commit 0da4b20852
7 changed files with 61 additions and 25 deletions

View File

@@ -27,11 +27,13 @@ import com.mogo.eagle.core.function.hmi.ui.camera.CameraListView
import com.mogo.eagle.core.function.hmi.ui.notice.NoticeBannerView
import com.mogo.eagle.core.function.hmi.ui.notice.NoticeNormalBannerView
import com.mogo.eagle.core.function.hmi.ui.setting.DebugSettingView
import com.mogo.eagle.core.function.hmi.ui.utils.visible
import com.mogo.eagle.core.function.hmi.ui.widget.V2XNotificationView
import com.mogo.eagle.core.utilcode.util.ThreadUtils
import com.mogo.module.common.enums.EventTypeEnum
import com.mogo.utils.logger.Logger
import kotlinx.android.synthetic.main.fragment_hmi.*
import androidx.core.view.isVisible as isVisible
/**
* @author xiaoyuzhou
@@ -281,6 +283,10 @@ class MoGoHmiFragment : MvpFragment<MoGoWarningContract.View?, WaringPresenter?>
viewTrafficLightVr?.showWarningTrafficLight(checkLightId)
}
override fun isWarningTrafficLightShow(): Boolean {
return viewTrafficLightVr.visibility == View.VISIBLE
}
/**
* 关闭红绿灯预警展示,并重制灯态
*/