From eaa17b7fe80a5072ed2605b33faf8485f80538df Mon Sep 17 00:00:00 2001 From: chenfufeng Date: Mon, 8 Jul 2024 21:10:22 +0800 Subject: [PATCH] =?UTF-8?q?[6.5.0][Fix]=E8=A7=A3=E5=86=B3=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E4=B8=8D=E9=80=9A=E8=BF=87=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eagle/core/function/hmi/ui/camera/RoadCrossLiveView.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/camera/RoadCrossLiveView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/camera/RoadCrossLiveView.kt index e2458d54fc..2f243c9c7e 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/camera/RoadCrossLiveView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/camera/RoadCrossLiveView.kt @@ -141,7 +141,8 @@ class RoadCrossLiveView @JvmOverloads constructor( } } - private fun gsyVideoPlay(img: String, live: String) { + private fun gsyVideoPlay(img: String?, live: String?) { + if (live.isNullOrEmpty()) return resetView() gsyVideoOptionBuilder.setUrl(live) .setCacheWithPlay(false)